aaaaaa why I use printf and not errecho for those

This commit is contained in:
yosh 2024-02-02 12:48:50 -05:00
parent 201a3916cd
commit 66ffa456eb
1 changed files with 2 additions and 2 deletions

View File

@ -45,8 +45,8 @@ checkupdate() {
if cmp "$tmpupdate" "$0"; then
errecho "you are updated!"
else
printf '%s' "the latest commit differs from the current version. if you use git, please git pull the repo for the update"
printf '%s' "you can see the changes here: https://git.unix.dog/yosh/flacconv/commits/branch/main"
errecho "the latest commit differs from the current version. if you use git, please git pull the repo for the update"
errecho "you can see the changes here: https://git.unix.dog/yosh/flacconv/commits/branch/main"
printf '%s' "if you don't use git, apply update directly? [y/n] " >&2
read -r choice
case "$choice" in