From 9d146b9ba5735854c486cfc013c4a8d962661cc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 28 Sep 2011 08:34:54 +0300 Subject: _known_hosts: Signal end of options to _known_hosts_real. Fixes for example "ping --": error: _known_hosts_real: missing mandatory argument CWORD --- bash_completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash_completion b/bash_completion index c20a3af1..8e2497f4 100644 --- a/bash_completion +++ b/bash_completion @@ -1305,7 +1305,7 @@ _known_hosts() local options [[ "$1" == -a || "$2" == -a ]] && options=-a [[ "$1" == -c || "$2" == -c ]] && options+=" -c" - _known_hosts_real $options "$cur" + _known_hosts_real $options -- "$cur" } # _known_hosts() # Helper function for completing _known_hosts. -- cgit v1.2.1