From: Nelson Elhage Date: Sun, 13 Sep 2009 17:23:52 GMT Subject: [PATCH] reflog: Usage documentation cleanup Message-ID: <1252862632-17581-1-git-send-email-nelhage@mit.edu> * Make git-reflog.txt and the builtin usage text consistent. * Make 'git reflog expire' not claim that 'show' takes the same arguments as 'expire'. * Document -n as an alias for --dry-run for the expire and delete subcommands. --- Documentation/git-reflog.txt | 5 +++-- builtin-reflog.c | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) Thanks to Jeff King and Erik Faye-Lund for both pointing out that 'git reflog expire' is probably wrong to be documenting the 'show' command in the first place, which makes this cleanup much saner. diff --git a/Documentation/git-reflog.txt b/Documentation/git-reflog.txt index 7f7a544..2c90c2c 100644 --- a/Documentation/git-reflog.txt +++ b/Documentation/git-reflog.txt @@ -16,10 +16,11 @@ The command takes various subcommands, and different options depending on the subcommand: [verse] -'git reflog expire' [--dry-run] [--stale-fix] [--verbose] +'git reflog expire' [-n | --dry-run] [--stale-fix] [--verbose] [--expire=