parse-opt: optionally show "--no-" option string
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Mon, 27 Jul 2009 18:49:56 +0000 (20:49 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 31 Jul 2009 14:47:38 +0000 (07:47 -0700)
It is usually better to have positive options, to avoid confusing double
negations. However, sometimes it is desirable to show the negative option
in the help.

Introduce the flag PARSE_OPT_NEGHELP to do that.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found