X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=test-parse-options.c;h=6e18083a7d1655e9eabef197c58d92a910d2f67b;hb=b47ddefe02945f8746c642219450245cf83ed130;hp=2a79e729a4018ddb2da9ff633f4bf3b102fa8f88;hpb=7ac749c96d143ba4f76723959892cbaddbe8ed07;p=git.git diff --git a/test-parse-options.c b/test-parse-options.c index 2a79e729a..6e18083a7 100644 --- a/test-parse-options.c +++ b/test-parse-options.c @@ -2,7 +2,8 @@ #include "parse-options.h" static int boolean = 0; -static unsigned long integer = 0; +static int integer = 0; +static unsigned long timestamp; static int abbrev = 7; static int verbose = 0, dry_run = 0, quiet = 0; static char *string = NULL; @@ -32,7 +33,7 @@ int main(int argc, const char **argv) OPT_INTEGER('i', "integer", &integer, "get a integer"), OPT_INTEGER('j', NULL, &integer, "get a integer, too"), OPT_SET_INT(0, "set23", &integer, "set integer to 23", 23), - OPT_DATE('t', NULL, &integer, "get timestamp of