Merge branch 'km/t3000-retitle'
[gitweb.git] / t / helper / test-parse-options.c
index cc88fba05752cbf67c2669c219cc0a65d4a354ee..2232b2f79ecd7524b5763716fbca5a87bed06f5d 100644 (file)
@@ -132,7 +132,7 @@ int cmd__parse_options(int argc, const char **argv)
                OPT_NOOP_NOARG(0, "obsolete"),
                OPT_STRING_LIST(0, "list", &list, "str", "add str to list"),
                OPT_GROUP("Magic arguments"),
-               OPT_ARGUMENT("quux", "means --quux"),
+               OPT_ARGUMENT("quux", NULL, "means --quux"),
                OPT_NUMBER_CALLBACK(&integer, "set integer to NUM",
                        number_callback),
                { OPTION_COUNTUP, '+', NULL, &boolean, NULL, "same as -b",