From e4a12719c06355690b133e6ab95b836079896682 Mon Sep 17 00:00:00 2001 From: Bryan Roessler Date: Sun, 4 Aug 2024 20:22:32 -0400 Subject: [PATCH] Make project # entry clearer --- workflow/qhtcp-workflow | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/workflow/qhtcp-workflow b/workflow/qhtcp-workflow index 1ed425db..5b561238 100755 --- a/workflow/qhtcp-workflow +++ b/workflow/qhtcp-workflow @@ -530,8 +530,14 @@ interactive_header() { ask_pn && PROJECTS+=("${ADD_PROJECTS[@]}") else for ((c=1; c<2; c++)); do # safe loop that only runs once - echo "Enter a comma-separated list of project numbers to analyze" - ((YES)) || read -r -p "Or enter 0 to add a new project or hit Enter for default project ($num): " response + echo + cat <<-EOF + Enter project number(s) to analyze: + * A comma-separated list of project numbers (ex. 2,5,12) + * 0 to add a new project + * Enter to accept the default (newest) project ($num) + EOF + ((YES)) || read -r -p "($num): " response if [[ $response == 0 ]]; then ask_pn && PROJECTS+=("${ADD_PROJECTS[@]}") else