[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2770bc6927829d080f22c87d552d12abc6c7fe72

Freddy Vulto (none) freddy at rebase.
Sat Jun 20 07:38:01 UTC 2009


The following commit has been merged in the master branch:
commit 8858c8df335417825b415546dc39f2defef39424
Author: Freddy Vulto <freddy at rebase.(none)>
Date:   Sat Jun 20 09:34:46 2009 +0200

    Tidied getopts-check loop in _known_hosts_real

diff --git a/bash_completion b/bash_completion
index 0b40247..d5ddf5c 100644
--- a/bash_completion
+++ b/bash_completion
@@ -1085,7 +1085,7 @@ _known_hosts_real()
 		esac
 	done
 	[ $# -ge $OPTIND ] && echo "error: $FUNCNAME("$@"): unprocessed arguments:"\
-	    $(while [ $# -gt 0 ]; do echo ${!OPTIND}; shift; done)
+	    $(while [ $# -ge $OPTIND ]; do echo ${!OPTIND}; shift; done)
 
 	[[ $cur == *@* ]] && user=${cur%@*}@ && cur=${cur#*@}
 	kh=()

-- 
bash-completion



More information about the Bash-completion-commits mailing list