summaryrefslogtreecommitdiff
path: root/completions/hid2hci
diff options
context:
space:
mode:
Diffstat (limited to 'completions/hid2hci')
-rw-r--r--completions/hid2hci8
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/hid2hci b/completions/hid2hci
index 9e3305d0..f33a4957 100644
--- a/completions/hid2hci
+++ b/completions/hid2hci
@@ -5,11 +5,11 @@ _hid2hci()
local cur prev words cword
_init_completion || return
- if [[ "$cur" == -* ]]; then
- COMPREPLY=( $(compgen -W '--help --quiet -0 --tohci -1 --tohid' \
- -- "$cur") )
+ if [[ $cur == -* ]]; then
+ COMPREPLY=($(compgen -W '--help --quiet -0 --tohci -1 --tohid' \
+ -- "$cur"))
fi
} &&
-complete -F _hid2hci hid2hci
+ complete -F _hid2hci hid2hci
# ex: filetype=sh