From: Bastian Dehn Date: Sun, 27 Sep 2026 06:43:19 +0000 (+0200) Subject: fix usage missing one parameter X-Git-Tag: v1.0.1^2~6 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=0398d65738e6a329735194779b16d89e67a33640;p=albentohandy.git fix usage missing one parameter --- diff --git a/src/albentohandy b/src/albentohandy index 82da219..43b41d4 100755 --- a/src/albentohandy +++ b/src/albentohandy @@ -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 optional input list (default albumlist)" + echo " -o convert to opus" } check_programs() diff --git a/src/man/albentohandy.1 b/src/man/albentohandy.1 index ca4ff61..04e40a1 100644 --- a/src/man/albentohandy.1 +++ b/src/man/albentohandy.1 @@ -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 optional input list (default albumlist) +-o convert to opus" .EE .P \ No newline at end of file diff --git a/tests/albentohandy.bats b/tests/albentohandy.bats index f348924..898f538 100755 --- a/tests/albentohandy.bats +++ b/tests/albentohandy.bats @@ -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 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 optional input list (default albumlist)" + assert_line --index 11 " -o convert to opus" } \ No newline at end of file