Make Y/N prompting more consistent
authorSteve McIntyre <steve@einval.com>
Sun, 26 Oct 2014 05:49:13 +0000 (05:49 +0000)
committerSteve McIntyre <steve@einval.com>
Sun, 26 Oct 2014 05:49:13 +0000 (05:49 +0000)
Closes issue 95

abcde
changelog

diff --git a/abcde b/abcde
index 84eb135..224aecc 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -2748,18 +2748,18 @@ do_cddbedit ()
                exit 1
        fi
        CDDBDATA="$ABCDETEMPDIR/cddbread.$(checkstatus cddb-choice)"
-       echo -n "Edit selected CDDB data? [y/n] (" >&2
+       echo -n "Edit selected CDDB data? " >&2
        if [ "$INTERACTIVE" = "y" ]; then
                if [ "$UNKNOWNDISK" = "y" ]; then
-                       echo -n "y): " >&2
+                       echo -n "[Y/n] (y): " >&2
                        read EDITCDDB
                        [ "$EDITCDDB" != "n" ] && EDITCDDB=y
                else
-                       echo -n "n): " >&2
+                       echo -n "[y/N] (n): " >&2
                        read EDITCDDB
                fi
        else
-               echo "n): n" >&2
+               echo "[y/N] (n): n" >&2
                EDITCDDB=n
        fi
        if [ "$EDITCDDB" = "y" ]; then
index 8d4eb6d..2a98fce 100644 (file)
--- a/changelog
+++ b/changelog
@@ -25,6 +25,7 @@ abcde 2.5.5 UNRELEASED
   * Fix eyeD3 tagging for cddb entries without year. Thanks to vskytta for
     the patch. Closes issue 107
   * Add mention of CD-TEXT support in the man page. Closes issue 102.
+  * Make Y/N prompting more consistent. Closes issue 95
 
  -- Steve McIntyre <93sam@debian.org>  Sat, 25 Oct 2014 12:11:16 -0700