summaryrefslogtreecommitdiff
path: root/builtin/revert.c
diff options
context:
space:
mode:
authorKevin Bracey <kevin@bracey.fi>2013-04-22 15:57:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-04-24 16:48:01 (GMT)
commit2130bf3ca9a0ce6ea8bebaa5e3abbecb48b02c09 (patch)
treed61c96e4048d4d0e71582cefe94ef109291936ff /builtin/revert.c
parent3e7bb5da9f58a8b0d066d1511ab95b5df2f8c6b1 (diff)
downloadgit-2130bf3ca9a0ce6ea8bebaa5e3abbecb48b02c09.zip
git-2130bf3ca9a0ce6ea8bebaa5e3abbecb48b02c09.tar.gz
git-2130bf3ca9a0ce6ea8bebaa5e3abbecb48b02c09.tar.bz2
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 <kevin@bracey.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/revert.c')
-rw-r--r--builtin/revert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/revert.c b/builtin/revert.c
index c5e36b9..0401fdb 100644
--- a/builtin/revert.c
+++ b/builtin/revert.c
@@ -19,13 +19,13 @@
*/
static const char * const revert_usage[] = {
- N_("git revert [options] <commit-ish>"),
+ N_("git revert [options] <commit-ish>..."),
N_("git revert <subcommand>"),
NULL
};
static const char * const cherry_pick_usage[] = {
- N_("git cherry-pick [options] <commit-ish>"),
+ N_("git cherry-pick [options] <commit-ish>..."),
N_("git cherry-pick <subcommand>"),
NULL
};