X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=test-parse-options.c;h=eed8a02c6589bcb9af46188b56054eace3cd4d19;hb=355885d531568e144ce5c9a2f65792a3aa8b5528;hp=4d3e2ec39e33f6301cc6df162dab7de9dbb2ea80;hpb=144126abf99f2eac48e63b7ea85a8f3f99f814db;p=git.git diff --git a/test-parse-options.c b/test-parse-options.c index 4d3e2ec39..eed8a02c6 100644 --- a/test-parse-options.c +++ b/test-parse-options.c @@ -19,6 +19,7 @@ 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_END(), }; int i;