summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Robert P. J. Day <rpjday@crashcourse.ca>2017-11-21 10:39:55 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-11-22 12:24:47 +0900
commit0ba014035aa693b546e51f242139b6641cf4718c (patch)
tree8d69c6b10637f222ebc86016e46d01635139f939
parentGit 2.12.5 (diff)
downloadtgif-0ba014035aa693b546e51f242139b6641cf4718c.tar.xz
doc: add missing "-n" (dry-run) option to reflog man page
While the "git reflog" man page supports both "--dry-run" and "-n" for a dry run, the man page mentions only the former, not the latter. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-reflog.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-reflog.txt b/Documentation/git-reflog.txt
index 44c736f1a8..472a6808cd 100644
--- a/Documentation/git-reflog.txt
+++ b/Documentation/git-reflog.txt
@@ -20,9 +20,9 @@ depending on the subcommand:
'git reflog' ['show'] [log-options] [<ref>]
'git reflog expire' [--expire=<time>] [--expire-unreachable=<time>]
[--rewrite] [--updateref] [--stale-fix]
- [--dry-run] [--verbose] [--all | <refs>...]
+ [--dry-run | -n] [--verbose] [--all | <refs>...]
'git reflog delete' [--rewrite] [--updateref]
- [--dry-run] [--verbose] ref@\{specifier\}...
+ [--dry-run | -n] [--verbose] ref@\{specifier\}...
'git reflog exists' <ref>
Reference logs, or "reflogs", record when the tips of branches and