diff --git a/share/completions/grep.fish b/share/completions/grep.fish index 0a1f2e3c7..fdc4cec88 100644 --- a/share/completions/grep.fish +++ b/share/completions/grep.fish @@ -21,8 +21,8 @@ complete -c grep -s h -l no-filename -d "Suppress printing filename" complete -c grep -l help -d "Display help and exit" complete -c grep -s I -d "Skip binary files" complete -c grep -s i -l ignore-case -d "Ignore case" -complete -c grep -s L -l files-without-match -d "Print first non-matching file" -complete -c grep -s l -l files-with-match -d "Print first matching file" +complete -c grep -s L -l files-without-match -d "Print name of files without matches" +complete -c grep -s l -l files-with-matches -d "Print name of files with matches" complete -c grep -s m -l max-count -d "Stop reading after NUM matches" complete -c grep -l mmap -d "Use the mmap system call to read input" complete -c grep -s n -l line-number -d "Print line number"