From 167a96fdebb658386acdb9209ff4a4d727c0df6a Mon Sep 17 00:00:00 2001 From: exploide Date: Mon, 24 Aug 2020 19:35:48 +0200 Subject: [PATCH] corrected grep completions --- share/completions/grep.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"