Code

test-parse-options: convert to OPT_BOOL()
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Sat, 25 Feb 2012 19:11:16 +0000 (20:11 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 26 Feb 2012 23:18:41 +0000 (15:18 -0800)
commitb9e63ddddc8928f39db6658bf6428a9b646e5ea5
tree7c56288d45dad5a37aebf40df7dec593d02ee452
parentaf543833d4e10163af8045859cc081969fa5fcec
test-parse-options: convert to OPT_BOOL()

Introduce OPT_BOOL() to test-parse-options and add some tests for
these "true" boolean options. Rename OPT_BOOLEAN to OPT_COUNTUP and
OPTION_BOOLEAN to OPTION_COUNTUP as well.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0040-parse-options.sh
test-parse-options.c