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