Make project # entry clearer
This commit is contained in:
@@ -530,8 +530,14 @@ interactive_header() {
|
|||||||
ask_pn && PROJECTS+=("${ADD_PROJECTS[@]}")
|
ask_pn && PROJECTS+=("${ADD_PROJECTS[@]}")
|
||||||
else
|
else
|
||||||
for ((c=1; c<2; c++)); do # safe loop that only runs once
|
for ((c=1; c<2; c++)); do # safe loop that only runs once
|
||||||
echo "Enter a comma-separated list of project numbers to analyze"
|
echo
|
||||||
((YES)) || read -r -p "Or enter 0 to add a new project or hit Enter for default project ($num): " response
|
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
|
if [[ $response == 0 ]]; then
|
||||||
ask_pn && PROJECTS+=("${ADD_PROJECTS[@]}")
|
ask_pn && PROJECTS+=("${ADD_PROJECTS[@]}")
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user