Fix the parameter switches.
This commit is contained in:
6
setup.sh
6
setup.sh
@@ -39,9 +39,9 @@ while getopts ":lb:gwsh" arg; do
|
|||||||
case $arg in
|
case $arg in
|
||||||
l) local="Y" && echo "Running $LOCAL as the playbook." ;;
|
l) local="Y" && echo "Running $LOCAL as the playbook." ;;
|
||||||
b) branch="$OPTARG" && echo "Using branch $branch instead of $BRANCH." ;;
|
b) branch="$OPTARG" && echo "Using branch $branch instead of $BRANCH." ;;
|
||||||
l) create_general="Y" && echo "Creating basic '$general_config'." ;;
|
g) create_general="Y" && echo "Creating basic '$general_config'." ;;
|
||||||
l) create_workstation="Y" && echo "Creating basic '$workstation_config'." ;;
|
w) create_workstation="Y" && echo "Creating basic '$workstation_config'." ;;
|
||||||
l) create_server="Y" && echo "Creating basic '$server_config'." ;;
|
s) create_server="Y" && echo "Creating basic '$server_config'." ;;
|
||||||
h) usage ;;
|
h) usage ;;
|
||||||
*) echo "ERROR: Parameter $OPTARG was not recognized." && usage 1 ;;
|
*) echo "ERROR: Parameter $OPTARG was not recognized." && usage 1 ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user