# [PATCH] doc: Add missing "-n" (dry-run) option to reflog man page

1 messages from 2017-11-21 to 2017-11-21. Participants: Robert P. J. Day.
Thread: https://gitlist.dev/t/47266

## Robert P. J. Day, 2017-11-21 11:28

Subject: [PATCH] doc: Add missing "-n" (dry-run) option to reflog man page
Message-ID: <alpine.LFD.2.21.1711210626030.8039@DESKTOP-1GPMCEJ>
URL: https://gitlist.dev/e/alpine.LFD.2.21.1711210626030.8039%40DESKTOP-1GPMCEJ

```

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>

---

--- 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

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

```
