summaryrefslogtreecommitdiff
path: root/completions/nslookup
diff options
context:
space:
mode:
Diffstat (limited to 'completions/nslookup')
-rw-r--r--completions/nslookup4
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/nslookup b/completions/nslookup
index f137b0a1..65770629 100644
--- a/completions/nslookup
+++ b/completions/nslookup
@@ -45,7 +45,7 @@ _nslookup()
local args
_count_args =
if [[ $args -le 2 ]]; then
- _known_hosts_real "$cur"
+ _known_hosts_real -- "$cur"
[[ $args -eq 1 && $cur == @(|-) ]] && COMPREPLY+=( - )
fi
} &&
@@ -79,7 +79,7 @@ _host()
return
fi
- _known_hosts_real "$cur"
+ _known_hosts_real -- "$cur"
} &&
complete -F _host host