From: Junio C Hamano Date: Sat, 12 Apr 2008 22:38:20 +0000 (-0700) Subject: Document -w option to shortlog X-Git-Tag: v1.5.5.1~7^2~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=55ef8a4610c4f1077551682a86f9a4e6d498e8e0;p=git.git Document -w option to shortlog Noticed by Fredrik Noring. Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-shortlog.txt b/Documentation/git-shortlog.txt index c7752575d..d7cb4c046 100644 --- a/Documentation/git-shortlog.txt +++ b/Documentation/git-shortlog.txt @@ -8,8 +8,8 @@ git-shortlog - Summarize 'git log' output SYNOPSIS -------- [verse] -git-log --pretty=short | 'git-shortlog' [-h] [-n] [-s] [-e] -git-shortlog [-n|--numbered] [-s|--summary] [-e|--email] [...] +git-log --pretty=short | 'git-shortlog' [-h] [-n] [-s] [-e] [-w] +git-shortlog [-n|--numbered] [-s|--summary] [-e|--email] [-w[[,[,]]]] [...] DESCRIPTION ----------- @@ -35,6 +35,12 @@ OPTIONS -e, \--email:: Show the email address of each author. +-w[[,[,]]]:: + Linewrap the output by wrapping each line at `width`. The first + line of each entry is indented by `indent1` spaces, and the second + and subsequent lines are indented by `indent2` spaces. `width`, + `indent1`, and `indent2` default to 76, 6 and 9 respectively. + FILES ----- diff --git a/builtin-shortlog.c b/builtin-shortlog.c index f08095bc9..01cfd7b47 100644 --- a/builtin-shortlog.c +++ b/builtin-shortlog.c @@ -8,7 +8,7 @@ #include "mailmap.h" static const char shortlog_usage[] = -"git-shortlog [-n] [-s] [-e] [... ]"; +"git-shortlog [-n] [-s] [-e] [-w] [... ]"; static char *common_repo_prefix; static int email;