diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-11-07 04:26:43 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-11-07 04:26:43 +0300 |
commit | c0329432acdd1ed344a6b251f35751b0fe38fe1d (patch) | |
tree | 9ab6b62b55bdb2000aaa84d1837ea8bb1c6ce12f /builtin/am.c | |
parent | 5f11becce0b830a316040fc7315a6fa8867156d8 (diff) | |
parent | f7c1b23819ec8b838e5427ed2e7cd12c81a796d2 (diff) |
Merge branch 'rs/fix-arghelp'
Doc and help update.
* rs/fix-arghelp:
am, rebase: fix arghelp syntax of --empty
Diffstat (limited to 'builtin/am.c')
-rw-r--r-- | builtin/am.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/am.c b/builtin/am.c index ef5b9459af..9f084d58bc 100644 --- a/builtin/am.c +++ b/builtin/am.c @@ -2395,7 +2395,7 @@ int cmd_am(int argc, const char **argv, const char *prefix) { OPTION_STRING, 'S', "gpg-sign", &state.sign_commit, N_("key-id"), N_("GPG-sign commits"), PARSE_OPT_OPTARG, NULL, (intptr_t) "" }, - OPT_CALLBACK_F(STOP_ON_EMPTY_COMMIT, "empty", &state.empty_type, "{stop,drop,keep}", + OPT_CALLBACK_F(0, "empty", &state.empty_type, "(stop|drop|keep)", N_("how to handle empty patches"), PARSE_OPT_NONEG, am_option_parse_empty), OPT_HIDDEN_BOOL(0, "rebasing", &state.rebasing, |