From b38b101c77003fb94aaaa8084fcb93b6862586eb Mon Sep 17 00:00:00 2001 From: dana Date: Mon, 25 Jun 2018 19:22:09 -0500 Subject: ripgrep: rename --maxdepth to --max-depth We keep the old `--maxdepth` spelling to preserve backward compatibility. PR #967 --- complete/_rg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'complete') 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]" -- cgit v1.2.3