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>
This commit is contained in:
Joe Ratterman
2011-03-28 13:11:55 -05:00
committed by Junio C Hamano
parent 78bc466753
commit 7d6cb10b84
2 changed files with 2 additions and 1 deletions

View File

@ -93,6 +93,7 @@ OPTIONS
as a regex).
-n::
--line-number::
Prefix the line number to matching lines.
-l::