Update test.sh

This commit is contained in:
2019-02-01 15:48:20 -06:00
parent 4bb3557b89
commit ec8ca0759b

View File

@@ -23,7 +23,7 @@ while getopts ':a:b:c:r:' flag; do
r) r=$OPTARG; echo "R - $r" ;;
a) a=$OPTARG; echo "A - $a" ;;
b) a=$OPTARG; echo "B - $b" ;;
c) a=$OPTARG; echo "C - $c" ;;
c) c=$OPTARG; echo "C - $c" ;;
:) echo "Invalid option: $OPTARG requires an argument" 1>&2 ;;
esac
done