diff --git a/doc/scripts/bin_dssc_module_job.sh b/doc/scripts/bin_dssc_module_job.sh index e4d8764eaa2d9e2137bf5a6022346f2054b629b6..c351ab871ab9d1366077ac2c777ce92ac9c4212d 100644 --- a/doc/scripts/bin_dssc_module_job.sh +++ b/doc/scripts/bin_dssc_module_job.sh @@ -7,19 +7,19 @@ 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";; - m) MODULE_GROUP="$OPTARG";; - x) XAXIS="$OPTARG";; - b) BINWIDTH="$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";; + m) MODULE_GROUP="$OPTARG";; + x) XAXIS="$OPTARG";; + b) BINWIDTH="$OPTARG";; + \?) echo "Unknown option" + exit 1;; + :) echo "Missing option for input flag" + exit 1;; + esac done # Load xfel environment