X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=test-parse-options.c;h=36487c402b264433a3bfda7f84ef9c9a8df8cbb7;hb=c17f1a9117916499a2153c7386ad3124e0b14ed0;hp=91a5701657556e07b4f4daafa947346d3b197cd1;hpb=fc26f57b847b86ba330ea543a6dfc86a10d4cce3;p=thirdparty%2Fgit.git diff --git a/test-parse-options.c b/test-parse-options.c index 91a5701657..36487c402b 100644 --- a/test-parse-options.c +++ b/test-parse-options.c @@ -54,6 +54,7 @@ int main(int argc, const char **argv) OPT_STRING(0, "string2", &string, "str", "get another string"), OPT_STRING(0, "st", &string, "st", "get another string (pervert ordering)"), OPT_STRING('o', NULL, &string, "str", "get another string"), + OPT_NOOP_NOARG(0, "obsolete"), OPT_SET_PTR(0, "default-string", &string, "set string to default", (unsigned long)"default"), OPT_STRING_LIST(0, "list", &list, "str", "add str to list"),