From a42d1d05df04d6b1c3076c4b375f5eea1b1bfa7c Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 25 Oct 2025 15:16:50 -0700 Subject: [PATCH] Fix the parameter switches. --- setup.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/setup.sh b/setup.sh index 1767733..540b616 100755 --- a/setup.sh +++ b/setup.sh @@ -24,9 +24,9 @@ function usage { This is helpful for development or just saving bandwidth. It also provides prettier colors than the plaintext from ansible-pull. ;) -b branch_name : Download and run a specific branch. Default is $BRANCH. - -g : Enable the General config with test contents. - -w : Enable the Workstation config with test contents. - -s : Enable the Server config with test contents. + -g : Enable the General config with test contents. + -w : Enable the Workstation config with test contents. + -s : Enable the Server config with test contents. -h : Display this help text EOF @@ -39,9 +39,9 @@ while getopts ":lb:gwsh" arg; do case $arg in l) local="Y" && echo "Running $LOCAL as the playbook." ;; b) branch="$OPTARG" && echo "Using branch $branch instead of $BRANCH." ;; - l) create_general="Y" && echo "Creating basic '$general_config'." ;; - l) create_workstation="Y" && echo "Creating basic '$workstation_config'." ;; - l) create_server="Y" && echo "Creating basic '$server_config'." ;; + g) create_general="Y" && echo "Creating basic '$general_config'." ;; + w) create_workstation="Y" && echo "Creating basic '$workstation_config'." ;; + s) create_server="Y" && echo "Creating basic '$server_config'." ;; h) usage ;; *) echo "ERROR: Parameter $OPTARG was not recognized." && usage 1 ;; esac