author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Thu, 7 May 2009 19:44:17 +0000 (21:44 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 9 May 2009 07:28:53 +0000 (00:28 -0700) | ||
commit | 2f4b97f91071f5060bf2da482cf8b0d70486d808 | |
tree | fabe7f74fafa1410676c5d15cac2de3fa93ef1ef | tree | snapshot |
parent | 5a0e4a2a326966aabb566164a7571291e34adabd | commit | diff |
parseopt: add OPT_NEGBIT
Add OPTION_NEGBIT and OPT_NEGBIT, mirroring OPTION_BIT and OPT_BIT.
OPT_NEGBIT can be used together with OPT_BIT to define two options
that cancel each other out.
Note: this patch removes the reminder from the test script because
it adds a test for --no-or4 and there already was one for --or4.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Add OPTION_NEGBIT and OPT_NEGBIT, mirroring OPTION_BIT and OPT_BIT.
OPT_NEGBIT can be used together with OPT_BIT to define two options
that cancel each other out.
Note: this patch removes the reminder from the test script because
it adds a test for --no-or4 and there already was one for --or4.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>