threads / patch / 33571

patchcherry-pick/revert: make usage say '<commit-ish>...'

Subject: [PATCH] cherry-pick/revert: make usage say '<commit-ish>...'

## tl;dr

One message between Apr 22, 2013 and Apr 22, 2013. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Kevin Bracey· Apr 22, 2013, 15:57 UTC · lore

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>
---
 builtin/revert.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Show changes to builtin/revert.c +2 −2
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
 };
-- 
1.8.2.255.g39c5835

← back to recent threads