Skip to content

Commit e27cffb

Browse files
committed
show --continue/skip etc. consistently in help
Show a similar synopsis for --continue/--skip etc. in the help printed with -h as in the man pages. Signed-off-by: Phillip Wood <[email protected]>
1 parent 9a22337 commit e27cffb

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

builtin/am.c

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

21652165
const char * const usage[] = {
21662166
N_("git am [<options>] [(<mbox> | <Maildir>)...]"),
2167-
N_("git am [<options>] (--continue | --skip | --abort)"),
2167+
N_("git am [<options>] (--continue | --skip | --abort | --quit"
2168+
" | --show-current-patch)"),
21682169
NULL
21692170
};
21702171

builtin/merge.c

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

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

builtin/rebase.c

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

builtin/revert.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222

2323
static const char * const revert_usage[] = {
2424
N_("git revert [<options>] <commit-ish>..."),
25-
N_("git revert <subcommand>"),
25+
N_("git revert (--continue | --skip | --abort | --quit)"),
2626
NULL
2727
};
2828

2929
static const char * const cherry_pick_usage[] = {
3030
N_("git cherry-pick [<options>] <commit-ish>..."),
31-
N_("git cherry-pick <subcommand>"),
31+
N_("git cherry-pick (--continue | --skip | --abort | --quit)"),
3232
NULL
3333
};
3434

0 commit comments

Comments
 (0)