Tidied getopts-check loop in _known_hosts_real
This commit is contained in:
parent
362090a160
commit
8858c8df33
@ -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=()
|
||||
|
Loading…
x
Reference in New Issue
Block a user