summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2016-09-25 18:32:41 -0400
committerAndrew Gallant <jamslam@gmail.com>2016-09-25 18:32:41 -0400
commit982265af708886d17db87856c44129c0984e039e (patch)
tree47725bed4efd3af38e0da762edad01990b0765e9 /doc
parented94aedf2746172a16e2ed3933eeaf1f41602fc6 (diff)
Move --files-with-matches to less common options.
Diffstat (limited to 'doc')
-rw-r--r--doc/rg.110
-rw-r--r--doc/rg.1.md6
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/rg.1 b/doc/rg.1
index 375b4662..8c70e711 100644
--- a/doc/rg.1
+++ b/doc/rg.1
@@ -35,11 +35,6 @@ Only show count of line matches for each file.
.RS
.RE
.TP
-.B \-l, \-\-files\-with\-matches
-Only show path of each file with matches.
-.RS
-.RE
-.TP
.B \-\-color \f[I]WHEN\f[]
Whether to use coloring in match.
Valid values are never, always or auto.
@@ -175,6 +170,11 @@ Print each file that would be searched (but don\[aq]t search).
.RS
.RE
.TP
+.B \-l, \-\-files\-with\-matches
+Only show path of each file with matches.
+.RS
+.RE
+.TP
.B \-H, \-\-with\-filename
Prefix each match with the file name that contains it.
This is the default when more than one file is searched.
diff --git a/doc/rg.1.md b/doc/rg.1.md
index 4c38ddf7..3a6c579b 100644
--- a/doc/rg.1.md
+++ b/doc/rg.1.md
@@ -29,9 +29,6 @@ the raw speed of grep.
-c, --count
: Only show count of line matches for each file.
--l, --files-with-matches
-: Only show path of each file with matches.
-
--color *WHEN*
: Whether to use coloring in match. Valid values are never, always or auto.
[default: auto]
@@ -114,6 +111,9 @@ the raw speed of grep.
--files
: Print each file that would be searched (but don't search).
+-l, --files-with-matches
+: Only show path of each file with matches.
+
-H, --with-filename
: Prefix each match with the file name that contains it. This is the
default when more than one file is searched.