removed unused getopts
This commit is contained in:
parent
3204bf3500
commit
5ad67c9e08
|
@ -22,19 +22,11 @@ help()
|
||||||
}
|
}
|
||||||
|
|
||||||
# set any options that were passed
|
# set any options that were passed
|
||||||
while getopts "achs" opt; do
|
while getopts "h" opt; do
|
||||||
case "${opt}" in
|
case "${opt}" in
|
||||||
a )
|
|
||||||
aliassearch=true
|
|
||||||
;;
|
|
||||||
c )
|
|
||||||
cvs="| sed 's/\t/,/g'"
|
|
||||||
;;
|
|
||||||
h )
|
h )
|
||||||
help
|
help
|
||||||
exit;;
|
exit;;
|
||||||
s )
|
|
||||||
dbcmdopts="-s -N $dbcmdopts"
|
|
||||||
;;
|
;;
|
||||||
\? )
|
\? )
|
||||||
echo "Invalid option: $OPTARG" 1>&2
|
echo "Invalid option: $OPTARG" 1>&2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user