diff options
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/revert.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/revert.c b/builtin/revert.c index 853e9e406c..3f4a20edd0 100644 --- a/builtin/revert.c +++ b/builtin/revert.c @@ -78,7 +78,8 @@ static void parse_args(int argc, const char **argv) die("program error"); } - commit_argc = parse_options(argc, argv, NULL, options, usage_str, 0); + commit_argc = parse_options(argc, argv, NULL, options, usage_str, + PARSE_OPT_KEEP_UNKNOWN); if (commit_argc < 1) usage_with_options(usage_str, options); |