Code

git-svn: detect and fail gracefully when dcommitting to a void
[git.git] / test-parse-options.c
index 4d3e2ec39e33f6301cc6df162dab7de9dbb2ea80..73360d75126af2f231b3cfdad26a47e18fff0a39 100644 (file)
@@ -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;