aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-grep.txt
diff options
context:
space:
mode:
authorJoe Ratterman <jratt0@gmail.com>2011-03-28 13:11:55 -0500
committerJunio C Hamano <gitster@pobox.com>2011-03-28 14:02:12 -0700
commit7d6cb10b84d9931aacf1914db192cbeaaa88443d (patch)
tree5b8907e0803db3457f3c9e781dc77574cf4205d4 /Documentation/git-grep.txt
parent78bc46675353e4833a59e0f4dfa47d57a9c1a46b (diff)
downloadgit-7d6cb10b84d9931aacf1914db192cbeaaa88443d.tar.gz
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/git-grep.txt')
-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::