summaryrefslogtreecommitdiffstats
path: root/bash-completion/flock
diff options
context:
space:
mode:
Diffstat (limited to 'bash-completion/flock')
-rw-r--r--bash-completion/flock20
1 files changed, 10 insertions, 10 deletions
diff --git a/bash-completion/flock b/bash-completion/flock
index 918a7d894..8cd60d33e 100644
--- a/bash-completion/flock
+++ b/bash-completion/flock
@@ -24,16 +24,16 @@ _flock_module()
esac
case $cur in
-*)
- OPTS="-s --shared
- -x --exclusive
- -u --unlock
- -n --nonblock
- -w --timeout
- -E --conflict-exit-code
- -o --close
- -c --command
- -h --help
- -V --version"
+ OPTS="--shared
+ --exclusive
+ --unlock
+ --nonblock
+ --timeout
+ --conflict-exit-code
+ --close
+ --command
+ --help
+ --version"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;