Skip to content

Commit 6d06f0d

Browse files
committed
show --continue/skip etc. consistently in help
Show a similar synopsis for --continue etc. in the help printed with -h as in the man pages. Signed-off-by: Phillip Wood <[email protected]> --- cherry-pick and revert will be updated separately based on top of https://public-inbox.org/git/[email protected]/T/#u
1 parent dd5283e commit 6d06f0d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

builtin/am.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2157,7 +2157,8 @@ int cmd_am(int argc, const char **argv, const char *prefix)
21572157

21582158
const char * const usage[] = {
21592159
N_("git am [<options>] [(<mbox> | <Maildir>)...]"),
2160-
N_("git am [<options>] (--continue | --skip | --abort)"),
2160+
N_("git am [<options>] (--continue | --skip | --abort | --quit"
2161+
" | --show-current-patch)"),
21612162
NULL
21622163
};
21632164

builtin/merge.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ struct strategy {
5252

5353
static const char * const builtin_merge_usage[] = {
5454
N_("git merge [<options>] [<commit>...]"),
55-
N_("git merge --abort"),
56-
N_("git merge --continue"),
55+
N_("git merge (--continue | --skip | --abort | --quit)"),
5756
NULL
5857
};
5958

builtin/rebase.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ static char const * const builtin_rebase_usage[] = {
3131
"[<upstream>] [<branch>]"),
3232
N_("git rebase [-i] [options] [--exec <cmd>] [--onto <newbase>] "
3333
"--root [<branch>]"),
34-
N_("git rebase --continue | --abort | --skip | --edit-todo"),
34+
N_("git rebase (--continue | --skip | --abort | --quit | --edit-todo | "
35+
"--show-current-patch)"),
3536
NULL
3637
};
3738

0 commit comments

Comments
 (0)