@matheusbsbs / matheus-bagliano / commits / 55ef8a4610
Fork 0

Document -w option to shortlog

Noticed by Fredrik Noring. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Apr 12, 2008 at 15:38 UTC 55ef8a4610c4f1077551682a86f9a4e6d498e8e0
2 files changed +9 -3
Documentation/git-shortlog.txt
+8 -2
@@ -8,8 +8,8 @@ git-shortlog - Summarize 'git log' output
8 SYNOPSIS
9 --------
10 [verse]
11 -git-log --pretty=short | 'git-shortlog' [-h] [-n] [-s] [-e]
12 -git-shortlog [-n|--numbered] [-s|--summary] [-e|--email] [<committish>...]
11 +git-log --pretty=short | 'git-shortlog' [-h] [-n] [-s] [-e] [-w]
12 +git-shortlog [-n|--numbered] [-s|--summary] [-e|--email] [-w[<width>[,<indent1>[,<indent2>]]]] [<committish>...]
13
14 DESCRIPTION
15 -----------
@@ -35,6 +35,12 @@ OPTIONS
35 -e, \--email::
36 Show the email address of each author.
37
38 +-w[<width>[,<indent1>[,<indent2>]]]::
39 + Linewrap the output by wrapping each line at `width`. The first
40 + line of each entry is indented by `indent1` spaces, and the second
41 + and subsequent lines are indented by `indent2` spaces. `width`,
42 + `indent1`, and `indent2` default to 76, 6 and 9 respectively.
43 +
44 FILES
45 -----
46
builtin-shortlog.c
+1 -1
@@ -8,7 +8,7 @@
8 #include "mailmap.h"
9
10 static const char shortlog_usage[] =
11 -"git-shortlog [-n] [-s] [-e] [<commit-id>... ]";
11 +"git-shortlog [-n] [-s] [-e] [-w] [<commit-id>... ]";
12
13 static char *common_repo_prefix;
14 static int email;