summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJoe Ratterman <jratt0@gmail.com>2011-03-28 18:11:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-03-28 21:02:12 (GMT)
commit7d6cb10b84d9931aacf1914db192cbeaaa88443d (patch)
tree5b8907e0803db3457f3c9e781dc77574cf4205d4 /Documentation
parent78bc46675353e4833a59e0f4dfa47d57a9c1a46b (diff)
downloadgit-7d6cb10b84d9931aacf1914db192cbeaaa88443d.zip
git-7d6cb10b84d9931aacf1914db192cbeaaa88443d.tar.gz
git-7d6cb10b84d9931aacf1914db192cbeaaa88443d.tar.bz2
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 dab0a78..791d4d4 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::