File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ usageVerbose() {
9696 --skip-mya skip timelines which require MYA (needed if running offsite or on CI)
9797
9898 --debug enable debug mode: run a single timeline with stderr and stdout printed to screen;
99- it is best to use this with the '-t' option to debug specific timeline issues
99+ use this with the '-t' option to debug specific timeline issues
100100
101101 -h, --help print this usage guide
102102 " " " >&2
@@ -184,6 +184,10 @@ if ${modes['debug']}; then
184184 printWarning " DEBUG mode used; timelines will NOT be published"
185185 enableAna=true
186186 enablePub=false
187+ if [ -z " $singleTimeline " ]; then
188+ printError " DEBUG mode used, but you need to also choose a timeline with '-t'"
189+ exit 100
190+ fi
187191fi
188192
189193# #################################################################################
You can’t perform that action at this time.
0 commit comments