summaryrefslogtreecommitdiffstats
path: root/complete
diff options
context:
space:
mode:
authordana <dana@dana.is>2017-07-06 13:27:55 -0500
committerAndrew Gallant <jamslam@gmail.com>2017-07-06 19:00:35 -0400
commit170c078440b02a3fed1ed1d5c3723491ea83fb9b (patch)
treef7ff4842ae3ef53871cee61dce8cf7af7eb196c4 /complete
parentdb044a058a0a2fe1aaeca5473641037415fe722a (diff)
Add `-f` to completions
Diffstat (limited to 'complete')
-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]'