X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=test-parse-options.c;h=73360d75126af2f231b3cfdad26a47e18fff0a39;hb=66aafad5e43815e5f54634e4ef787cd759388880;hp=4d3e2ec39e33f6301cc6df162dab7de9dbb2ea80;hpb=27ee189163070f53a87e033171a45520f70b242e;p=git.git diff --git a/test-parse-options.c b/test-parse-options.c index 4d3e2ec39..73360d751 100644 --- a/test-parse-options.c +++ b/test-parse-options.c @@ -19,6 +19,9 @@ int main(int argc, const char **argv) 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;