The following commit has been merged in the master branch:
commit 798bd2328eaaad06d77bfe90f32b87dd39846693
Author: Ville Skyttä <[email protected]>
Date:   Sun Dec 13 11:28:14 2009 +0200

    Doc and line wrapping fixes.

diff --git a/bash_completion b/bash_completion
index 790d89a..9b29853 100644
--- a/bash_completion
+++ b/bash_completion
@@ -1212,8 +1212,9 @@ _known_hosts()
 } # _known_hosts()
 
 # Helper function for completing _known_hosts.
-# This function performs host completion based on ssh's known_hosts files.
-# Also hosts from HOSTFILE (compgen -A hostname) are added, unless
+# This function performs host completion based on ssh's config and known_hosts
+# files, as well as hostnames reported by avahi-browse.  Also hosts from
+# HOSTFILE (compgen -A hostname) are added, unless
 # COMP_KNOWN_HOSTS_WITH_HOSTFILE is set to an empty value.
 # Usage: _known_hosts_real [OPTIONS] CWORD
 # Options:  -a             Use aliases
@@ -1370,10 +1371,11 @@ _known_hosts_real()
         done
     fi
 
-    # Add results of normal hostname completion, unless 
`COMP_KNOWN_HOSTS_WITH_HOSTFILE'
-    # is set to an empty value.
+    # Add results of normal hostname completion, unless
+    # `COMP_KNOWN_HOSTS_WITH_HOSTFILE' is set to an empty value.
     if [ -n "${COMP_KNOWN_HOSTS_WITH_HOSTFILE-1}" ]; then
-        COMPREPLY=( "${comprep...@]}" $( compgen -A hostname -P "$prefix$user" 
-S "$suffix" -- "$cur" ) )
+        COMPREPLY=( "${comprep...@]}"
+            $( compgen -A hostname -P "$prefix$user" -S "$suffix" -- "$cur" ) )
     fi
 
     __ltrim_colon_completions "$prefix$user$cur"

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to