git/t/t1502/optionspec-neg
René Scharfe d5dc68f730 t1502: test option negation
Add tests for checking the "git rev-parse --parseopt" flag "!" and
whether options can be negated with a "no-" prefix.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2023-08-06 17:16:50 -07:00

8 lines
183 B
Text

some-command [options] <args>...
some-command does foo and bar!
--
foo can be negated
no-bar can be positivated
positive-only! cannot be negated
no-negative! cannot be positivated