X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=test-parse-options.c;h=36487c402b264433a3bfda7f84ef9c9a8df8cbb7;hb=50c94032844bb184cdeff7779be3b6a23e04d312;hp=acd1a2ba70fc2ffb38cd8fb0784aa6e5e693183f;hpb=c444c16589f95ac22d8e3ffe603cd7f0613512ce;p=git.git diff --git a/test-parse-options.c b/test-parse-options.c index acd1a2ba7..36487c402 100644 --- a/test-parse-options.c +++ b/test-parse-options.c @@ -1,5 +1,6 @@ #include "cache.h" #include "parse-options.h" +#include "string-list.h" static int boolean = 0; static int integer = 0; @@ -9,6 +10,7 @@ static int verbose = 0, dry_run = 0, quiet = 0; static char *string = NULL; static char *file = NULL; static int ambiguous; +static struct string_list list; static int length_callback(const struct option *opt, const char *arg, int unset) { @@ -46,14 +48,16 @@ int main(int argc, const char **argv) OPT_DATE('t', NULL, ×tamp, "get timestamp of