[PATCH 2/5] builtin/shortlog.c: make usage string consistent with log
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Apr 20, 2013, 11:45 UTC
- Message-ID
- <1366458313-7186-3-git-send-email-artagnon@gmail.com>
- In-Reply-To
- <1366458313-7186-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..a2f54f2 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>] [<since>..<until>] [[--] [<path>...]]"), NULL };
-- 1.8.2.1.506.gbce9ff0