1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-11-23 21:54:45 +02:00

add a max-depth option for directory traversal

CR and add integration test
This commit is contained in:
Garrett Squire
2016-09-26 20:56:15 -07:00
parent 3e892a7a80
commit babe80d498
3 changed files with 30 additions and 1 deletions

View File

@@ -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