summaryrefslogtreecommitdiff
path: root/completions/webmitm
diff options
context:
space:
mode:
Diffstat (limited to 'completions/webmitm')
-rw-r--r--completions/webmitm6
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/webmitm b/completions/webmitm
index d50bc3e3..549c5ef5 100644
--- a/completions/webmitm
+++ b/completions/webmitm
@@ -5,13 +5,13 @@ _webmitm()
local cur prev words cword
_init_completion || return
- if [[ "$cur" == -* ]]; then
- COMPREPLY=( $(compgen -W '$(_parse_usage "$1")' -- "$cur") )
+ if [[ $cur == -* ]]; then
+ COMPREPLY=($(compgen -W '$(_parse_usage "$1")' -- "$cur"))
else
_known_hosts_real -- "$cur"
fi
} &&
-complete -F _webmitm webmitm
+ complete -F _webmitm webmitm
# ex: filetype=sh