doc: clarify --with-filename behavior with --heading
This commit is contained in:
committed by
Andrew Gallant
parent
f9cbf7d3d4
commit
beb010d004
5
doc/rg.1
5
doc/rg.1
@@ -274,8 +274,11 @@ Only show path of each file with no matches.
|
||||
.RE
|
||||
.TP
|
||||
.B \-H, \-\-with\-filename
|
||||
Prefix each match with the file name that contains it.
|
||||
Display the file name for matches.
|
||||
This is the default when more than one file is searched.
|
||||
If \-\-heading is enabled, the file name will be shown above clusters of
|
||||
matches from each file; otherwise, the file name will be shown on each
|
||||
match.
|
||||
.RS
|
||||
.RE
|
||||
.TP
|
||||
|
||||
Reference in New Issue
Block a user