Add --no-filename flag.

When this flag is set, a filename is never shown for a match.

Closes #20
This commit is contained in:
Andrew Gallant
2016-09-24 19:23:19 -04:00
parent 7b860affbe
commit a6e3cab65a
4 changed files with 30 additions and 0 deletions

View File

@@ -175,6 +175,12 @@ This is the default when more than one file is searched.
.RS
.RE
.TP
.B \-\-no\-filename
Never show the filename for a match.
This is the default when one file is searched.
.RS
.RE
.TP
.B \-\-heading
Show the file name above clusters of matches from each file.
This is the default mode at a tty.