diff --git a/test.sh b/test.sh index 1cf45ed..7d5556a 100755 --- a/test.sh +++ b/test.sh @@ -18,7 +18,7 @@ fi -while getopts ':abcr:' flag; do +while getopts ':a:b:c:r:' flag; do case "${flag}" in r) $flag=$OPTARG; echo "R=$r" ;; a) $flag=$OPTARG; echo "A=$a" ;;