Clarify use of --heading/--no-heading.

Fixes #247.
This commit is contained in:
Andrew Gallant
2016-11-28 17:39:45 -05:00
parent 08514e8e6c
commit d12bdf35a5
3 changed files with 16 additions and 8 deletions

View File

@@ -222,13 +222,17 @@ This is the default when one file is searched.
.RE
.TP
.B \-\-heading
Show the file name above clusters of matches from each file.
Show the file name above clusters of matches from each file instead of
showing the file name for every match.
This is the default mode at a tty.
.RS
.RE
.TP
.B \-\-no\-heading
Don\[aq]t show any file name heading.
Don\[aq]t group matches by each file.
If \-H/\-\-with\-filename is enabled, then file names will be shown for
every line matched.
This is the default more when not at a tty.
.RS
.RE
.TP