summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2017-11-21 15:39:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-11-22 03:24:47 (GMT)
commit0ba014035aa693b546e51f242139b6641cf4718c (patch)
tree8d69c6b10637f222ebc86016e46d01635139f939
parent9752ad0bb79f680bca48db7adc45338b298304b0 (diff)
downloadgit-0ba014035aa693b546e51f242139b6641cf4718c.zip
git-0ba014035aa693b546e51f242139b6641cf4718c.tar.gz
git-0ba014035aa693b546e51f242139b6641cf4718c.tar.bz2
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 44c736f..472a680 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