parse-options: automatically infer PARSE_OPT_LITERAL_ARGHELP
[gitweb.git] / builtin / show-branch.c
index e8a4aa40cb4b6cf8787af3dd35d833a92a85bba3..371b8c8b8482b077257c0429fb0cfbc043689129 100644 (file)
@@ -655,7 +655,7 @@ int cmd_show_branch(int ac, const char **av, const char *prefix)
                { OPTION_CALLBACK, 'g', "reflog", &reflog_base, N_("<n>[,<base>]"),
                            N_("show <n> most recent ref-log entries starting at "
                               "base"),
-                           PARSE_OPT_OPTARG | PARSE_OPT_LITERAL_ARGHELP,
+                           PARSE_OPT_OPTARG,
                            parse_reflog_param },
                OPT_END()
        };