diff --git a/bash_completion b/bash_completion index f8b17b00..9bc8e3c4 100644 --- a/bash_completion +++ b/bash_completion @@ -1045,7 +1045,8 @@ _user_at_host() { } shopt -u hostcomplete && complete -F _user_at_host $nospace talk ytalk finger -# See: _known_hosts_real() +# NOTE: Using this function as a helper function is deprecated. Use +# `_known_hosts_real' instead. _known_hosts() { local cur @@ -1053,7 +1054,8 @@ _known_hosts() COMPREPLY=() cur=`_get_cword` - _known_hosts_real "$@" + # NOTE: Passing "$@" is deprecated. See NOTE above. + _known_hosts_real -h "$cur" "$@" } # Helper function for completing _known_hosts.