summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Joe Ratterman <jratt0@gmail.com>2011-03-28 13:11:55 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-03-28 14:02:12 -0700
commit7d6cb10b84d9931aacf1914db192cbeaaa88443d (patch)
tree5b8907e0803db3457f3c9e781dc77574cf4205d4 /Documentation
parentGit 1.7.4.2 (diff)
downloadtgif-7d6cb10b84d9931aacf1914db192cbeaaa88443d.tar.xz
grep: Add the option '--line-number'
This is a synonym for the existing '-n' option, matching GNU grep. Signed-off-by: Joe Ratterman <jratt0@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-grep.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt
index dab0a78fa8..791d4d4871 100644
--- a/Documentation/git-grep.txt
+++ b/Documentation/git-grep.txt
@@ -93,6 +93,7 @@ OPTIONS
as a regex).
-n::
+--line-number::
Prefix the line number to matching lines.
-l::