Skip to content

Commit eb19e4b

Browse files
author
Matthew McEneaney
committed
feat: Add check for simultaneity of exclusive options.
1 parent 898b940 commit eb19e4b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

bin/run-detectors-timelines.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ if ${modes['help']}; then
107107
usage
108108
exit 101
109109
fi
110+
if (${modes['run-slurm']} && ${modes['debug']}); then
111+
echo "ERROR: --run-slurm and --debug are mutually exclusive" >&2
112+
exit 100
113+
fi
110114

111115
# set class path to include groovy's classpath, for `java` calls
112116
export CLASSPATH="$JYPATH${CLASSPATH:+:${CLASSPATH}}"

0 commit comments

Comments
 (0)