diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2012-02-28 20:06:09 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-28 11:48:11 -0800 |
commit | cbb08c2e0b41ab162838aa1e83b959bac91151e2 (patch) | |
tree | b762ff44c1e2a83fe44ba2fc9cb174222efd8cc2 /color.c | |
parent | parse-options: allow positivation of options starting, with no- (diff) | |
download | tgif-cbb08c2e0b41ab162838aa1e83b959bac91151e2.tar.xz |
parse-options: remove PARSE_OPT_NEGHELP
PARSE_OPT_NEGHELP is confusing because short options defined with that
flag do the opposite of what the helptext says. It is also not needed
anymore now that options starting with no- can be negated by removing
that prefix. Convert its only two users to OPT_NEGBIT() and OPT_BOOL()
and then remove support for PARSE_OPT_NEGHELP.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'color.c')
0 files changed, 0 insertions, 0 deletions