diff --git a/doc/scripts/boz_parameters_job.sh b/doc/scripts/boz_parameters_job.sh index 49630de9523a2aae33953a4055ee55e3a57d20d7..ef7fd34a26e4efc87037523a089f30fe3294919c 100644 --- a/doc/scripts/boz_parameters_job.sh +++ b/doc/scripts/boz_parameters_job.sh @@ -11,20 +11,20 @@ MODULE='15' while getopts ":p:d:r:k:g:t:s:m:" option do - case $option in - p) PROPOSAL="$OPTARG";; - d) DARK="$OPTARG";; - r) RUN="$OPTARG";; - k) KERNEL="$OPTARG";; - g) GAIN="$OPTARG";; - t) ROISTH="$OPTARG";; - s) SATLEVEL="$OPTARG";; - m) MODULE="$OPTARG";; - \?) echo "Unknown option" - exit 1;; - :) echo "Missing option for input flag" - exit 1;; - esac + case $option in + p) PROPOSAL="$OPTARG";; + d) DARK="$OPTARG";; + r) RUN="$OPTARG";; + k) KERNEL="$OPTARG";; + g) GAIN="$OPTARG";; + t) ROISTH="$OPTARG";; + s) SATLEVEL="$OPTARG";; + m) MODULE="$OPTARG";; + \?) echo "Unknown option" + exit 1;; + :) echo "Missing option for input flag" + exit 1;; + esac done # Load xfel environment