diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-09-29 19:04:16 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-09-29 19:04:16 +0300 |
commit | a03cc4ba1dd8eca619fb46e0fa3cba8b393e1652 (patch) | |
tree | edb6461a320e1b33bece0ff35c31820a146f83d4 /builtin/am.c | |
parent | a4eebfadf2da24ba63c9027c1d28e0a9514ed1bd (diff) | |
parent | 43abaaf0087c72fccc5bbf3fc103eb148465480d (diff) |
Merge branch 'ob/am-msgfix'
The parameters to generate an error message have been corrected.
* ob/am-msgfix:
am: fix error message in parse_opt_show_current_patch()
Diffstat (limited to 'builtin/am.c')
-rw-r--r-- | builtin/am.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/am.c b/builtin/am.c index 202040b62e..6655059a57 100644 --- a/builtin/am.c +++ b/builtin/am.c @@ -2303,7 +2303,8 @@ static int parse_opt_show_current_patch(const struct option *opt, const char *ar if (resume->mode == RESUME_SHOW_PATCH && new_value != resume->sub_mode) return error(_("options '%s=%s' and '%s=%s' " "cannot be used together"), - "--show-current-patch", "--show-current-patch", arg, valid_modes[resume->sub_mode]); + "--show-current-patch", arg, + "--show-current-patch", valid_modes[resume->sub_mode]); resume->mode = RESUME_SHOW_PATCH; resume->sub_mode = new_value; |