summaryrefslogtreecommitdiff
path: root/etc/functions/off
diff options
context:
space:
mode:
Diffstat (limited to 'etc/functions/off')
-rwxr-xr-xetc/functions/off1
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