From 074347f4e48331a75650d764c758cd041558668b Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 18 Mar 2005 18:51:02 +0000 Subject: allow -- to end options --- bin/g | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/g b/bin/g index 7f4e343b..e8bd3def 100755 --- a/bin/g +++ b/bin/g @@ -5,6 +5,10 @@ flags="" while [ $# != 0 -a $inflags = yes ] do case "$1" in + --) + inflags=no + shift + ;; -*) flags="$flags $1" shift -- cgit v1.2.3