diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-22 13:26:13 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-22 13:26:13 +0100 |
commit | a44fe40b707da76682d7aee1c01775694a35ca17 (patch) | |
tree | 1e40497692557ce9a974711d80da0723f36719ce /etc/functions/put | |
parent | cef704209d12374dceb99d320ee65b0ebe60d65f (diff) |
functions: - / -- designate end of options
Diffstat (limited to 'etc/functions/put')
-rwxr-xr-x | etc/functions/put | 1 |
1 files changed, 1 insertions, 0 deletions
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#-}\) ;; |