Skip to content

Commit 2130bf3

Browse files
kjbracey2gitster
authored andcommitted
cherry-pick/revert: make usage say '<commit-ish>...'
The usage string for cherry-pick and revert has never been updated to reflect their ability to handle multiple commits. Other documentation is already correct. Signed-off-by: Kevin Bracey <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3e7bb5d commit 2130bf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builtin/revert.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
*/
2020

2121
static const char * const revert_usage[] = {
22-
N_("git revert [options] <commit-ish>"),
22+
N_("git revert [options] <commit-ish>..."),
2323
N_("git revert <subcommand>"),
2424
NULL
2525
};
2626

2727
static const char * const cherry_pick_usage[] = {
28-
N_("git cherry-pick [options] <commit-ish>"),
28+
N_("git cherry-pick [options] <commit-ish>..."),
2929
N_("git cherry-pick <subcommand>"),
3030
NULL
3131
};

0 commit comments

Comments
 (0)