]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
change option keep cover
authorBastian Dehn <hhaalo@arcor.de>
Sat, 12 Sep 2026 09:54:03 +0000 (11:54 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 12 Sep 2026 09:54:03 +0000 (11:54 +0200)
albentohandy

index 8fdb4dd6a0911984f8c7e74b03966e92b051d53f..fd363fbedf4c54c27874c4b87c3a1e2fab1b1ef7 100755 (executable)
@@ -22,7 +22,7 @@ SYNOPSIS
 
 OPTIONS
     -3                      convert to mp3
-    -c                      cover.jpg stehen lassen
+    -k                      keep cover.jpg
     -f                      convert to flac
     -h                      show this help
     -o                      convert to opus
@@ -150,10 +150,10 @@ main()
                || errlog "missing MUSICPATH" \
                || return $?
 
-       while getopts "3cfho" optname; do
+       while getopts "3kfho" optname; do
                case "$optname" in
                "3") format="mp3" ;;
-               "c") cover="true" ;;
+               "k") cover="true" ;;
                "f") format="flac" ;;
                "h") usage && return 0 ;;
                "o") format="opus" ;;