diff options
author | YPCrumble <ipcampbell@gmail.com> | 2016-12-22 07:21:22 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2016-12-22 07:21:22 -0500 |
commit | 900ef0abc76c21697afa5c5a1a4f53f0a7d4ecc5 (patch) | |
tree | 7acbe4506a247de248c046c4a9833858d83e83da /README.md | |
parent | 8396d3ffaae3784880a6cef25775ba2abd9f4fcf (diff) |
Update docs to explain use of -g and --files to search for paths. (#285)
Update docs to explain use of -g and --files to search for paths.
Fixes #284
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -268,6 +268,12 @@ Or exclude files matching a particular glob: $ rg foo -g '!*.min.js' ``` +Search and return paths matching a particular glob (i.e., `-g` flag in ag/ack): + +``` +$ rg -g 'doc*' --files +``` + Search only HTML and CSS files: ``` |