diff --git a/share/completions/grep.fish b/share/completions/grep.fish index b5f336453..0a1f2e3c7 100644 --- a/share/completions/grep.fish +++ b/share/completions/grep.fish @@ -32,8 +32,8 @@ complete -c grep -l line-buffered -d "Use line buffering" complete -c grep -s P -l perl-regexp -d "Pattern is a Perl regexp (PCRE) string" complete -c grep -s q -l quiet -d "Do not write anything" complete -c grep -l silent -d "Do not write anything" -complete -c grep -s R -l recursive -d "Read files under each directory, recursively" -complete -c grep -s r -d "Read files under each directory, recursively" +complete -c grep -s R -l dereference-recursive -d "Recursively read files under each directory, following symlinks" +complete -c grep -s r -l recursive -d "Recursively read files under each directory" complete -c grep -l include -d "Search only files matching PATTERN" -r complete -c grep -l exclude -d "Skip files matching PATTERN" -r complete -c grep -s s -l no-messages -d "Suppress error messages" @@ -44,6 +44,7 @@ complete -c grep -s V -l version -d "Display version and exit" complete -c grep -s v -l invert-match -d "Invert the sense of matching" complete -c grep -s w -l word-regexp -d "Only whole matching words" complete -c grep -s x -l line-regexp -d "Only whole matching lines" -complete -c grep -s y -d "Ignore case (deprecated: use -i instead)" complete -c grep -s z -l null-data -d "Treat input as a set of zero-terminated lines" complete -c grep -s Z -l null -d "Output a zero byte after filename" +complete -c grep -l group-separator -x -d "Set a group separator" +complete -c grep -l no-group-separator -d "Use empty string as a group separator"