Improved getopts usage

As suggested by Walter Hüttenmeyer.
This commit is contained in:
Horea Christian 2019-05-16 18:29:07 +02:00
parent bc637d61d1
commit 8dfbdc41f9

View file

@ -34,7 +34,7 @@ USAGE="usage:\n\
-h: displays help message."
# reads options:
while getopts ':te:skqcblph' flag; do
while getopts ':t:e:skqcblph' flag; do
case "${flag}" in
t)
TARGET="$OPTARG"