fix: parse simulator group arguments

This commit is contained in:
2026-07-20 18:01:38 +08:00
parent 3453fbe522
commit f38e260639
2 changed files with 34 additions and 2 deletions

View File

@@ -2,8 +2,8 @@
set -euo pipefail
TP="${1:?usage: run_simulator_group.sh TP {false|true|both}}"
MODE="${2:?usage: run_simulator_group.sh TP {false|true|both}}"
TP="${1:?usage: run_simulator_group.sh TP MODE}"
MODE="${2:?usage: run_simulator_group.sh TP MODE}"
case "${TP}" in
1|2|4) ;;