[PATCH 7/7] builtin/shortlog.c: make usage string consistent with log
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Apr 22, 2013, 05:30 UTC
- Message-ID
- <1366608631-21734-8-git-send-email-artagnon@gmail.com>
- In-Reply-To
- <1366608631-21734-1-git-send-email-artagnon@gmail.com>
"--" 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> --- builtin/shortlog.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/builtin/shortlog.c b/builtin/shortlog.c index 240bff3..1fd6f8a 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 };
-- 1.8.2.1.501.gd2949c7