]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/revert.c
parse-options: PARSE_OPT_KEEP_UNKNOWN only applies to --options
[thirdparty/git.git] / builtin / revert.c
index 2554f9099ccf11721cbd079ece7add901549f1f1..ee2a0807f011e817801f1dc45e858b99ced613a3 100644 (file)
@@ -141,7 +141,7 @@ static int run_sequencer(int argc, const char **argv, struct replay_opts *opts)
 
        argc = parse_options(argc, argv, NULL, options, usage_str,
                        PARSE_OPT_KEEP_ARGV0 |
-                       PARSE_OPT_KEEP_UNKNOWN);
+                       PARSE_OPT_KEEP_UNKNOWN_OPT);
 
        prepare_repo_settings(the_repository);
        the_repository->settings.command_requires_full_index = 0;