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>
Robert P. J. Day committed
Nov 21, 2017 at 10:39 UTC
0ba014035aa693b546e51f242139b6641cf4718c
1 file changed
+2
-2
Documentation/git-reflog.txt
+2
-2
@@ -20,9 +20,9 @@ depending on the subcommand:
20
'git reflog' ['show'] [log-options] [<ref>]
21
'git reflog expire' [--expire=<time>] [--expire-unreachable=<time>]
22
[--rewrite] [--updateref] [--stale-fix]
23
- [--dry-run] [--verbose] [--all | <refs>...]
23
+ [--dry-run | -n] [--verbose] [--all | <refs>...]
24
'git reflog delete' [--rewrite] [--updateref]
25
- [--dry-run] [--verbose] ref@\{specifier\}...
25
+ [--dry-run | -n] [--verbose] ref@\{specifier\}...
26
'git reflog exists' <ref>
27
28
Reference logs, or "reflogs", record when the tips of branches and