[PATCH 4/8] reflog: fix documentation
- From
Michael Haggerty <mhagger@alum.mit.edu>
- Date
- Feb 9, 2015, 09:12 UTC
- Message-ID
- <1423473164-6011-5-git-send-email-mhagger@alum.mit.edu>
- In-Reply-To
- <1423473164-6011-1-git-send-email-mhagger@alum.mit.edu>
Update the "git reflog" usage documentation in the manpage and the command help to match the current reality.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> --- Documentation/git-reflog.txt | 6 ++++-- builtin/reflog.c | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/Documentation/git-reflog.txt b/Documentation/git-reflog.txt index 70791b9..b410ee6 100644 --- a/Documentation/git-reflog.txt +++ b/Documentation/git-reflog.txt @@ -17,9 +17,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' [--dry-run] [--verbose] + [--rewrite] [--updateref] [--stale-fix] [--expire=<time>] [--expire-unreachable=<time>] [--all] <refs>... -'git reflog delete' ref@\{specifier\}... +'git reflog delete' [--dry-run] [--verbose] + [--rewrite] [--updateref] ref@\{specifier\}... 'git reflog' ['show'] [log-options] [<ref>] Reflog is a mechanism to record when the tip of branches are diff --git a/builtin/reflog.c b/builtin/reflog.c index 49c64f9..d89a6dd 100644 --- a/builtin/reflog.c +++ b/builtin/reflog.c @@ -13,7 +13,7 @@ */ static const char reflog_expire_usage[] = -"git reflog expire [--verbose] [--dry-run] [--stale-fix] [--expire=<time>] [--expire-unreachable=<time>] [--all] <refs>..."; +"git reflog expire [--verbose] [--dry-run] [--rewrite] [--updateref] [--stale-fix] [--expire=<time>] [--expire-unreachable=<time>] [--all] <refs>..."; static const char reflog_delete_usage[] = "git reflog delete [--verbose] [--dry-run] [--rewrite] [--updateref] <refs>...";
-- 2.1.4