aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-03-18 18:51:02 +0000
committerrsc <devnull@localhost>2005-03-18 18:51:02 +0000
commit074347f4e48331a75650d764c758cd041558668b (patch)
treea3c676fa8818204d1d41ea5c30e17fbe2bc28fee /bin
parent237c30900cf261e31d54ed426ff4b1896e2e3667 (diff)
downloadplan9port-074347f4e48331a75650d764c758cd041558668b.tar.gz
plan9port-074347f4e48331a75650d764c758cd041558668b.tar.bz2
plan9port-074347f4e48331a75650d764c758cd041558668b.zip
allow -- to end options
Diffstat (limited to 'bin')
-rwxr-xr-xbin/g4
1 files changed, 4 insertions, 0 deletions
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