gce.sh: Rename -f flag to better reflect usage (#6318)

automerge
This commit is contained in:
Trent Nelson
2019-10-10 13:57:03 -06:00
committed by Grimes
parent c2761a1259
commit 81fb9e6a59
2 changed files with 8 additions and 6 deletions

View File

@@ -119,7 +119,9 @@ Manage testnet instances
zone
-x - append to the existing configuration instead of creating a
new configuration
-f - Discard validator nodes that didn't bootup successfully
--allow-boot-failures
- Discard from config validator nodes that didn't bootup
successfully
create-specific options:
-n [number] - Number of additional fullnodes (default: $additionalFullNodeCount)
@@ -175,6 +177,9 @@ while [[ -n $1 ]]; do
elif [[ $1 == --machine-type* || $1 == --custom-cpu* ]]; then # Bypass quoted long args for GPUs
shortArgs+=("$1")
shift
elif [[ $1 == --allow-boot-failures ]]; then
failOnValidatorBootupFailure=false
shift
else
usage "Unknown long option: $1"
fi
@@ -232,9 +237,6 @@ while getopts "h?p:Pn:c:r:z:gG:a:d:uxf" opt "${shortArgs[@]}"; do
x)
externalNodes=true
;;
f)
failOnValidatorBootupFailure=false
;;
*)
usage "unhandled option: $opt"
;;