summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--complete/_rg2
1 files changed, 1 insertions, 1 deletions
diff --git a/complete/_rg b/complete/_rg
index 7712f113..a29debae 100644
--- a/complete/_rg
+++ b/complete/_rg
@@ -75,7 +75,7 @@ less_common_options=(
'--context-separator=[specify string used to separate non-continuous context lines in output]:separator string'
'--debug[show debug messages]'
'--dfa-size-limit=[specify upper size limit of generated DFA]:DFA size'
- "--file=[specify file containing patterns to search for]:file:_files"
+ '*'{-f,--file=}'[specify file containing patterns to search for]:file:_files'
"--ignore-file=[specify additional ignore file]:file:_files"
"--files[show each file that would be searched (but don't search)]"
'(-l --files-with-matches --files-without-match)'{-l,--files-with-matches}'[only show names of files with matches]'