t1502, docs: disallow --no-help
commitaa43619bdf690c8ed44746030552a35244f97af7
authorRené Scharfe <l.s.r@web.de>
Sat, 5 Aug 2023 14:37:55 +0000 (5 16:37 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Aug 2023 00:16:50 +0000 (6 17:16 -0700)
treeeb982c54598a868a25c541abc53d7a6116a63113
parentd716512870317692129b2b4d706a82b393ffbe6e
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>
Documentation/git-rev-parse.txt
t/t1502-rev-parse-parseopt.sh