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/off | |
parent | cef704209d12374dceb99d320ee65b0ebe60d65f (diff) |
functions: - / -- designate end of options
Diffstat (limited to 'etc/functions/off')
-rwxr-xr-x | etc/functions/off | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/functions/off b/etc/functions/off index 05c67fa..38b82f7 100755 --- a/etc/functions/off +++ b/etc/functions/off @@ -36,6 +36,7 @@ while [[ $1 == -* ]] { print ' either "gone" or the place one will be going to' return 0 ;; + -|--) shift; break ;; *) fdie "Unrecognized option: $1"; return 1 ;; esac shift |