diff options
author | Andrew Gallant <jamslam@gmail.com> | 2016-09-25 18:32:41 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2016-09-25 18:32:41 -0400 |
commit | 982265af708886d17db87856c44129c0984e039e (patch) | |
tree | 47725bed4efd3af38e0da762edad01990b0765e9 /doc | |
parent | ed94aedf2746172a16e2ed3933eeaf1f41602fc6 (diff) |
Move --files-with-matches to less common options.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rg.1 | 10 | ||||
-rw-r--r-- | doc/rg.1.md | 6 |
2 files changed, 8 insertions, 8 deletions
@@ -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. |