X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=test-parse-options.c;h=73360d75126af2f231b3cfdad26a47e18fff0a39;hb=660b9c3a4e24ce9a2628f2ec88902e2384d1aade;hp=277cfe4d6dceb5ebe2ce9f141b6eb21a4dc37912;hpb=5d4138a66d265e7ddbe21d44f79bcaa1e9a6b6ff;p=git.git diff --git a/test-parse-options.c b/test-parse-options.c index 277cfe4d6..73360d751 100644 --- a/test-parse-options.c +++ b/test-parse-options.c @@ -18,6 +18,10 @@ 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_GROUP("magic arguments"), + OPT_ARGUMENT("quux", "means --quux"), OPT_END(), }; int i;