diff options
author | Joe Ratterman <jratt0@gmail.com> | 2011-03-28 22:11:55 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-03-29 01:02:12 +0400 |
commit | 7d6cb10b84d9931aacf1914db192cbeaaa88443d (patch) | |
tree | 5b8907e0803db3457f3c9e781dc77574cf4205d4 /Documentation/git-grep.txt | |
parent | 78bc46675353e4833a59e0f4dfa47d57a9c1a46b (diff) |
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.txt | 1 |
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:: |