git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] doc: Add missing "-n" (dry-run) option to reflog man page
@ 2017-11-21 15:39 Robert P. J. Day
  2017-11-22  3:28 ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: Robert P. J. Day @ 2017-11-21 15:39 UTC (permalink / raw)
  To: Git Mailing list

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>

---

  sorry, i accidentally chopped off the leading lines of the patch in
the earlier post.

diff --git a/Documentation/git-reflog.txt b/Documentation/git-reflog.txt
index 44c736f1a..472a6808c 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


-- 

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

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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-11-22 16:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-21 15:39 [PATCH v2] doc: Add missing "-n" (dry-run) option to reflog man page Robert P. J. Day
2017-11-22  3:28 ` Junio C Hamano
2017-11-22  7:59   ` Robert P. J. Day
2017-11-22 10:41     ` Junio C Hamano
2017-11-22 10:45       ` Robert P. J. Day
2017-11-22 16:03         ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).