diff options
author | Garrett Squire <garrettsquire@gmail.com> | 2016-09-26 20:56:15 -0700 |
---|---|---|
committer | Garrett Squire <garrettsquire@gmail.com> | 2016-09-27 16:14:53 -0700 |
commit | babe80d498675b1cb8e649a96cf73f6cc694792d (patch) | |
tree | e4b1a9d241c857bfb4ebfc933f9e32a176cacb02 /doc | |
parent | 3e892a7a80e86d5e57e95626788c10e23d4221cf (diff) |
add a max-depth option for directory traversal
CR and add integration test
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rg.1.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/rg.1.md b/doc/rg.1.md index c996d832..f7379fc5 100644 --- a/doc/rg.1.md +++ b/doc/rg.1.md @@ -136,6 +136,10 @@ the raw speed of grep. -L, --follow : Follow symlinks. +--maxdepth *NUM* +: Descend at most NUM directories below the command line arguments. + A value of zero searches only the starting-points themselves. + --mmap : Search using memory maps when possible. This is enabled by default when ripgrep thinks it will be faster. (Note that mmap searching |