From 1ded5b34e6f74a4742e52453bb75fe562ed65b95 Mon Sep 17 00:00:00 2001 From: mikecarper Date: Tue, 12 May 2026 22:43:50 -0700 Subject: [PATCH] build.sh: show on-off prompts as on(1)/off(0) --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 8ec35dae..f30af6da 100755 --- a/build.sh +++ b/build.sh @@ -213,7 +213,7 @@ prompt_on_off_choice() { esac while true; do - read -r -p "${prompt_label} [on/off/1/0] (default: ${normalized_default}): " choice + read -r -p "${prompt_label} [on(1)/off(0)] (default: ${normalized_default}): " choice choice=${choice,,} if [ -z "$choice" ]; then choice=$normalized_default @@ -229,7 +229,7 @@ prompt_on_off_choice() { return 0 ;; *) - echo "Invalid selection. Choose 'on'/'off' or 1/0." + echo "Invalid selection. Choose on(1) or off(0)." ;; esac done