parse-options.c: make OPTION_COUNTUP respect "unspecified" values
[gitweb.git] / test-parse-options.c
index 86afa9887c81acd0f3c2519a4cf228be72239276..f02c275f3335f392243426594a82b759e6f3eed9 100644 (file)
@@ -7,7 +7,8 @@ static int integer = 0;
 static unsigned long magnitude = 0;
 static unsigned long timestamp;
 static int abbrev = 7;
-static int verbose = 0, dry_run = 0, quiet = 0;
+static int verbose = -1; /* unspecified */
+static int dry_run = 0, quiet = 0;
 static char *string = NULL;
 static char *file = NULL;
 static int ambiguous;