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/off | 1 + 1 file changed, 1 insertion(+) (limited to 'etc/functions/off') 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 -- cgit v1.2.3