aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamkumar Ramachandra <artagnon@gmail.com>2013-04-22 11:00:31 +0530
committerJunio C Hamano <gitster@pobox.com>2013-04-22 08:00:54 -0700
commit0942d519ada52c9cf831ecd3c562539be939d19e (patch)
treed4d5d48f4f4c8f8b4ae5204aeba4a8750fb31cb6
parente495afcd74ae703db9b396cd46ffc0da368e3905 (diff)
downloadgit-0942d519ada52c9cf831ecd3c562539be939d19e.tar.gz
git-0942d519ada52c9cf831ecd3c562539be939d19e.tar.xz
builtin/shortlog.c: make usage string consistent with log
"--" is used to separate pathspecs from the rev specs, and not rev specs from the options, as the shortlog_usage string currently indicates. In correcting this usage string, make it consistent with the log_usage string. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--builtin/shortlog.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/builtin/shortlog.c b/builtin/shortlog.c
index 240bff3ef..1fd6f8ac5 100644
--- a/builtin/shortlog.c
+++ b/builtin/shortlog.c
@@ -10,9 +10,7 @@
#include "parse-options.h"
static char const * const shortlog_usage[] = {
- N_("git shortlog [-n] [-s] [-e] [-w] [rev-opts] [--] [<commit-id>... ]"),
- "",
- N_("[rev-opts] are documented in git-rev-list(1)"),
+ N_("git shortlog [<options>] [<revision range>] [[--] [<path>...]]"),
NULL
};