From 8858c8df335417825b415546dc39f2defef39424 Mon Sep 17 00:00:00 2001 From: Freddy Vulto Date: Sat, 20 Jun 2009 09:34:46 +0200 Subject: [PATCH] Tidied getopts-check loop in _known_hosts_real --- bash_completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash_completion b/bash_completion index 0b402477..d5ddf5cb 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=()