summaryrefslogtreecommitdiff
path: root/completions/nc
diff options
context:
space:
mode:
Diffstat (limited to 'completions/nc')
-rw-r--r--completions/nc4
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/nc b/completions/nc
index 61bf5b52..63cb9d14 100644
--- a/completions/nc
+++ b/completions/nc
@@ -23,7 +23,7 @@ _nc()
return
;;
-x)
- _known_hosts_real "$cur"
+ _known_hosts_real -- "$cur"
return
;;
esac
@@ -39,7 +39,7 @@ _nc()
[[ ${words[i]} != -* && ${words[i-1]} != -[IiOPpsTVwXx] ]] && return
done
- _known_hosts_real "$cur"
+ _known_hosts_real -- "$cur"
} &&
complete -F _nc nc