chg: [tools] ask_o () wants -e (for colorz) (#4764)

chg: [tools] ask_o () wants -e (for colorz)
pull/4769/head
Steve Clement 2019-06-18 02:25:00 +10:00 committed by GitHub
commit 53bddddb8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ ask_o () {
while true; do
case "${ANSWER}" in "${OPT1}" | "${OPT2}") break ;; esac
echo -n "${1} (${OPT1}/${OPT2}) "
echo -e -n "${1} (${OPT1}/${OPT2}) "
read ANSWER
ANSWER=$(echo "${ANSWER}" | tr '[:upper:]' '[:lower:]')
done