aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-rev-parse.txt
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2023-08-05 16:37:55 +0200
committerJunio C Hamano <gitster@pobox.com>2023-08-06 17:16:50 -0700
commitaa43619bdf690c8ed44746030552a35244f97af7 (patch)
treeeb982c54598a868a25c541abc53d7a6116a63113 /Documentation/git-rev-parse.txt
parentd716512870317692129b2b4d706a82b393ffbe6e (diff)
downloadgit-aa43619bdf690c8ed44746030552a35244f97af7.tar.gz
t1502, docs: disallow --no-help
"git rev-parse --parseopt" handles the built-in options -h and --help, but not --no-help. Make test definitions and documentation examples more realistic by disabling negation. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-rev-parse.txt')
-rw-r--r--Documentation/git-rev-parse.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt
index f26a7591e3..6e8ff9ace1 100644
--- a/Documentation/git-rev-parse.txt
+++ b/Documentation/git-rev-parse.txt
@@ -398,7 +398,7 @@ some-command [<options>] <args>...
some-command does foo and bar!
--
-h,help show the help
+h,help! show the help
foo some nifty option --foo
bar= some cool option --bar with an argument