add "g" option to getopts
This commit is contained in:
parent
131a157272
commit
03ac60902b
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ XARGSARG="-0"
|
||||||
|
|
||||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||||
|
|
||||||
while getopts "o:s:d:tnw:f" options; do
|
while getopts "o:s:d:tnw:fg" options; do
|
||||||
case $options in
|
case $options in
|
||||||
o ) OUTFILE=$OPTARG;;
|
o ) OUTFILE=$OPTARG;;
|
||||||
d ) WORKDIR=$OPTARG;;
|
d ) WORKDIR=$OPTARG;;
|
||||||
|
|
Loading…
Reference in a new issue