formatting.

This commit is contained in:
mag37 2023-01-30 10:25:22 +01:00 committed by GitHub
parent 5bd7efafcf
commit 2b9f0cc48e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ choosecontainers() {
while [[ "$ChoiceClean" =~ [A-Za-z] || -z "$ChoiceClean" ]]; do while [[ "$ChoiceClean" =~ [A-Za-z] || -z "$ChoiceClean" ]]; do
printf "What containers do you like to update? \n" printf "What containers do you like to update? \n"
# options # options
read -p 'Enter number(s) separated by , : ' Choice read -p 'Enter number(s) separated by comma (eg. 1,3,4): ' Choice
if [ "$Choice" == "0" ] ; then if [ "$Choice" == "0" ] ; then
SelectedUpdates=( ${NumberedUpdates[@]:1} ) SelectedUpdates=( ${NumberedUpdates[@]:1} )
ChoiceClean=$(echo $Choice|sed 's/[,.:;]/ /g') ChoiceClean=$(echo $Choice|sed 's/[,.:;]/ /g')