Update test.sh

This commit is contained in:
2019-02-01 16:33:36 -06:00
parent a8b8452907
commit 5388ad6a71

View File

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