Imported Upstream version 2.27.0
[platform/upstream/git.git] / builtin / show-branch.c
index 8c90cbb..7e52ee9 100644 (file)
@@ -671,11 +671,11 @@ int cmd_show_branch(int ac, const char **av, const char *prefix)
                            N_("topologically sort, maintaining date order "
                               "where possible"),
                            REV_SORT_BY_COMMIT_DATE),
-               { OPTION_CALLBACK, 'g', "reflog", &reflog_base, N_("<n>[,<base>]"),
+               OPT_CALLBACK_F('g', "reflog", &reflog_base, N_("<n>[,<base>]"),
                            N_("show <n> most recent ref-log entries starting at "
                               "base"),
                            PARSE_OPT_OPTARG | PARSE_OPT_NONEG,
-                           parse_reflog_param },
+                           parse_reflog_param),
                OPT_END()
        };