diff --git a/build.sh b/build.sh index 0022e61bb6f26..49b89d1c85ceb 100755 --- a/build.sh +++ b/build.sh @@ -1,15 +1,15 @@ #!/bin/bash set -euo pipefail -bail="--no-bail" +bail="--bail" while [[ "${1:-}" != "" ]]; do case $1 in -h|--help) - echo "Usage: build.sh [--bail|-b] [--force|-f]" + echo "Usage: build.sh [--no-bail] [--force|-f]" exit 1 ;; - -b|--bail) - bail="--bail" + --no-bail) + bail="--no-bail" ;; -f|--force) export CDK_BUILD="--force"