diff options
author | René Scharfe <l.s.r@web.de> | 2023-08-05 16:37:55 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-08-06 17:16:50 -0700 |
commit | aa43619bdf690c8ed44746030552a35244f97af7 (patch) | |
tree | eb982c54598a868a25c541abc53d7a6116a63113 /Documentation/git-rev-parse.txt | |
parent | d716512870317692129b2b4d706a82b393ffbe6e (diff) | |
download | git-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.txt | 2 |
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 |