[Bash-completion-devel] _known_hosts is wrong (?)

Ildar Mulyukov ildar at users.sourceforge.net
Tue Jul 21 09:38:49 UTC 2009


	Hi!

thank you guys for improving bash-completion even more!

I started to use current git HEAD and stumbled over the "ping"  
completion:
$ ping <TAB> error: _known_hosts_real(ping ping ): unprocessed  
arguments: ping

My bash version is:
$ rpm -q bash
bash-3.2.48-alt1

If I hack a little the function _known_hosts, everything seems all  
right:
	# NOTE: Passing "$@" is deprecated.  See NOTE above.
-	_known_hosts_real "$@" "$(_get_cword)"
+	_known_hosts_real      "$(_get_cword)"

And I still don't understand comments in the function (see above)

Why is that? any ideas?

Regards,
-- 
Ildar  Mulyukov,  free SW designer/programmer
================================================
email: ildar at users.sourceforge.net
home: http://tuganger.narod.ru/
ALT Linux Sisyphus
================================================



More information about the Bash-completion-devel mailing list