tallow -- to end options - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 074347f4e48331a75650d764c758cd041558668b
DIR parent 237c30900cf261e31d54ed426ff4b1896e2e3667
HTML Author: rsc <devnull@localhost>
Date: Fri, 18 Mar 2005 18:51:02 +0000
allow -- to end options
Diffstat:
M bin/g | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
DIR diff --git a/bin/g b/bin/g
t@@ -5,6 +5,10 @@ flags=""
while [ $# != 0 -a $inflags = yes ]
do
case "$1" in
+ --)
+ inflags=no
+ shift
+ ;;
-*)
flags="$flags $1"
shift