From eadb353c2ed7d5f93f73ceb3873b6341979c9159 Mon Sep 17 00:00:00 2001 From: Roxie Gibson Date: Tue, 11 May 2021 14:40:02 +0100 Subject: [PATCH] refactor: changed misc prompts to convention Missed issue beore since I only changed the function, not these strays Contiunation of PR #162 --- abra | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/abra b/abra index f78bc02..1835ce1 100755 --- a/abra +++ b/abra @@ -899,7 +899,7 @@ prompt_confirm() { return fi - read -rp "Continue? (y/[n])? " choice + read -rp "Continue? [y/N]? " choice case "$choice" in y|Y ) return ;; @@ -2099,7 +2099,7 @@ sub_recipe_release() { success "All compose files updated; new version is $new_version" - read -rp "Commit your changes to git? (y/[n])? " choice + read -rp "Commit your changes to git? [y/N]? " choice if [ "${choice,,}" != "y" ]; then return @@ -2107,7 +2107,7 @@ sub_recipe_release() { git commit -avem "Version $new_version; sync labels" || exit - read -rp "Tag this as \`$new_version\`? (y/[n])? " choice + read -rp "Tag this as \`$new_version\`? [y/N]? " choice if [ "${choice,,}" != "y" ]; then return