summaryrefslogtreecommitdiffstats
path: root/complete
diff options
context:
space:
mode:
Diffstat (limited to 'complete')
-rw-r--r--complete/_rg3
1 files changed, 2 insertions, 1 deletions
diff --git a/complete/_rg b/complete/_rg
index f91a31bc..0d5940cc 100644
--- a/complete/_rg
+++ b/complete/_rg
@@ -51,7 +51,8 @@ _rg() {
'(-M --max-columns)'{-M+,--max-columns=}'[specify max length of lines to print]:number of bytes'
'(-m --max-count)'{-m+,--max-count=}'[specify max number of matches per file]:number of matches'
'--max-filesize=[specify size above which files should be ignored]:file size'
- '--maxdepth=[specify max number of directories to descend]:number of directories'
+ '--max-depth=[specify max number of directories to descend]:number of directories'
+ '!--maxdepth=:number of directories'
'(--mmap --no-mmap)--mmap[search using memory maps when possible]'
'(-H --with-filename --no-filename)--no-filename[suppress all file names]'
"(-p --heading --pretty --vimgrep)--no-heading[don't group matches by file name]"