X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=test-parse-options.c;h=eed8a02c6589bcb9af46188b56054eace3cd4d19;hb=ea14e6c55427f50f78fe47187cd4edb9845943a1;hp=277cfe4d6dceb5ebe2ce9f141b6eb21a4dc37912;hpb=02273fdbd07ddaa13a232db0ae63a720c4a013f0;p=git.git diff --git a/test-parse-options.c b/test-parse-options.c index 277cfe4d6..eed8a02c6 100644 --- a/test-parse-options.c +++ b/test-parse-options.c @@ -18,6 +18,8 @@ int main(int argc, const char **argv) OPT_GROUP("string options"), OPT_STRING('s', "string", &string, "string", "get a string"), 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_END(), }; int i;