Code

Add "const" qualifier to "char *pager_program".
[git.git] / test-parse-options.c
index 4d3e2ec39e33f6301cc6df162dab7de9dbb2ea80..eed8a02c6589bcb9af46188b56054eace3cd4d19 100644 (file)
@@ -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;