]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
fix usage missing one parameter
authorBastian Dehn <hhaalo@arcor.de>
Sun, 27 Sep 2026 06:43:19 +0000 (08:43 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 27 Sep 2026 06:43:19 +0000 (08:43 +0200)
src/albentohandy
src/man/albentohandy.1
tests/albentohandy.bats

index 82da2199cb188dbe4f75d05aadc97ac4afef096f..43b41d4ca6c04b7ea07040583654db8866419cfc 100755 (executable)
@@ -16,10 +16,11 @@ useage()
        echo "SYNOPSIS"
        echo "    albentohandy [-3fho]"
        echo "OPTIONS"
-       echo "    -3    convert to mp3"
-       echo "    -f    convert to flac with cover"
-       echo "    -h    show this usage"
-       echo "    -o    convert to opus"
+       echo "    -3              convert to mp3"
+       echo "    -f              convert to flac with cover"
+       echo "    -h              show this usage"
+       echo "    -i <albumlist>  optional input list (default albumlist)"
+       echo "    -o              convert to opus"
 }
 
 check_programs()
index ca4ff61c5397d179a2faf03a7c3a16e92a79abec..04e40a157e00079d8b45e06b3197325a3fa939c2 100644 (file)
@@ -1,4 +1,4 @@
-.TH albentohandy 1 2026-09-26
+.TH albentohandy 1 2026-09-27
 
 .SH NAME
 albentohandy - convert flac to ogg, mp3, opus or flac from music collection
@@ -9,9 +9,10 @@ albentohandy [-3fho]"
 .SH OPTIONS
 .P
 .EX
--3    convert to mp3"
--f    convert to flac with cover"
--h    show this usage"
--o    convert to opus"
+-3              convert to mp3
+-f              convert to flac with cover"
+-h              show this usage"
+-i <albumlist>  optional input list (default albumlist)
+-o              convert to opus"
 .EE
 .P
\ No newline at end of file
index f348924d976950b10f298a908edb3e223ec98cdb..898f538857af8f3c8f0c73f81cf0dd83f5642e52 100755 (executable)
@@ -588,10 +588,11 @@ teardown() {
        assert_line --index 2 "SYNOPSIS"
        assert_line --index 3 "    albentohandy [-3fho]"
        assert_line --index 4 "OPTIONS"
-       assert_line --index 5 "    -3    convert to mp3"
-       assert_line --index 6 "    -f    convert to flac with cover"
-       assert_line --index 7 "    -h    show this usage"
-       assert_line --index 8 "    -o    convert to opus"
+       assert_line --index 5 "    -3              convert to mp3"
+       assert_line --index 6 "    -f              convert to flac with cover"
+       assert_line --index 7 "    -h              show this usage"
+       assert_line --index 8 "    -i <albumlist>  optional input list (default albumlist)"
+       assert_line --index 9 "    -o              convert to opus"
 }
 
 # bats test_tags=albentohandy:usage
@@ -609,8 +610,9 @@ teardown() {
        assert_line --index 4 "SYNOPSIS"
        assert_line --index 5 "    albentohandy [-3fho]"
        assert_line --index 6 "OPTIONS"
-       assert_line --index 7 "    -3    convert to mp3"
-       assert_line --index 8 "    -f    convert to flac with cover"
-       assert_line --index 9 "    -h    show this usage"
-       assert_line --index 10 "    -o    convert to opus"
+       assert_line --index 7 "    -3              convert to mp3"
+       assert_line --index 8 "    -f              convert to flac with cover"
+       assert_line --index 9 "    -h              show this usage"
+       assert_line --index 10 "    -i <albumlist>  optional input list (default albumlist)"
+       assert_line --index 11 "    -o              convert to opus"
 }
\ No newline at end of file