From a44fe40b707da76682d7aee1c01775694a35ca17 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 22 Mar 2009 13:26:13 +0100 Subject: functions: - / -- designate end of options --- etc/functions/put | 1 + 1 file changed, 1 insertion(+) (limited to 'etc/functions/put') diff --git a/etc/functions/put b/etc/functions/put index 42b550a..58a59f3 100755 --- a/etc/functions/put +++ b/etc/functions/put @@ -48,6 +48,7 @@ hosts=(aneurysm_int aneurysm sievert) while [[ $1 == -* ]] { case $1 in + -|--) shift; break ;; *) (( $(eval echo '$#'hosts_${1#-}) )) && eval hosts=\(\$hosts_${1#-}\) ;; -- cgit v1.2.3