Update test.sh
This commit is contained in:
10
test.sh
10
test.sh
@@ -18,16 +18,6 @@ fi
|
||||
|
||||
|
||||
|
||||
while getopts ':a:b:c:r:' flag; do
|
||||
case "${flag}" in
|
||||
r) r=$OPTARG; echo "R - $r" ;;
|
||||
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 ;;
|
||||
esac
|
||||
done
|
||||
|
||||
while getopts ':site:type:ssl:proxy_scheme:proxy_host:proxy_port:' flag; do
|
||||
case "${flag}" in
|
||||
site) NEW_SITE=$OPTARG; echo "NEW_SITE - ${NEW_SITE}" ;;
|
||||
|
||||
Reference in New Issue
Block a user