summaryrefslogtreecommitdiff
path: root/completions/sshmitm
diff options
context:
space:
mode:
Diffstat (limited to 'completions/sshmitm')
-rw-r--r--completions/sshmitm6
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/sshmitm b/completions/sshmitm
index 8b320fa8..ee893e59 100644
--- a/completions/sshmitm
+++ b/completions/sshmitm
@@ -5,13 +5,13 @@ _sshmitm()
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 _sshmitm sshmitm
+ complete -F _sshmitm sshmitm
# ex: filetype=sh