builtin: consistently pass cmd_* prefix to parse_options
[gitweb.git] / builtin / rebase--interactive.c
index 4535523bf53f989759176c550d20d75b5ef7e587..72fd4b53a884e198b90daf7bfc06030955b793f2 100644 (file)
@@ -302,7 +302,7 @@ int cmd_rebase__interactive(int argc, const char **argv, const char *prefix)
        if (argc == 1)
                usage_with_options(builtin_rebase_interactive_usage, options);
 
-       argc = parse_options(argc, argv, NULL, options,
+       argc = parse_options(argc, argv, prefix, options,
                        builtin_rebase_interactive_usage, PARSE_OPT_KEEP_ARGV0);
 
        opts.gpg_sign = xstrdup_or_null(opts.gpg_sign);