multinode-demo scripts support --block-production-method arg (#33891)

This commit is contained in:
Andrew Fitzgerald 2023-10-31 12:20:39 +08:00 committed by GitHub
parent 30491995ed
commit b2cec5aa48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -106,6 +106,9 @@ while [[ -n $1 ]]; do
elif [[ $1 = --log-messages-bytes-limit ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --block-production-method ]]; then
args+=("$1" "$2")
shift 2
else
echo "Unknown argument: $1"
$program --help

View File

@ -182,6 +182,9 @@ while [[ -n $1 ]]; do
elif [[ $1 == --skip-require-tower ]]; then
maybeRequireTower=false
shift
elif [[ $1 == --block-production-method ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 = -h ]]; then
usage "$@"
else