From: Bastian Dehn Date: Sun, 27 Sep 2026 16:06:49 +0000 (+0200) Subject: change order lib param description X-Git-Tag: v1.0.2^2~1^2 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=ec8e25695ab94ed59dff56ba93ea1b92a2df6a73;p=albentohandy.git change order lib param description --- diff --git a/src/albentohandy b/src/albentohandy index 24f7fb7..51abc80 100755 --- a/src/albentohandy +++ b/src/albentohandy @@ -18,7 +18,7 @@ useage() echo "OPTIONS" echo " -h show this usage" echo " -i optional input list (default albumlist)" - echo " -l lib [vorbis|mp3|opus|flac|]" + echo " -l lib [vorbis|flac|mp3|opus|]" } check_programs() diff --git a/src/man/albentohandy.1 b/src/man/albentohandy.1 index abeaab2..b46707b 100644 --- a/src/man/albentohandy.1 +++ b/src/man/albentohandy.1 @@ -11,7 +11,7 @@ albentohandy [-3fho] [-i ] .EX -h show this usage" -i optional input list (default albumlist) --l lib [vorbis|mp3|opus|flac|] +-l lib [vorbis|flac|mp3|opus|] you can add custom lib is install deb under /usr/lib/albentohandy (e.g. /usr/lib/albentohandy/custom.sh) diff --git a/tests/albentohandy.bats b/tests/albentohandy.bats index 9ca4fda..736cb03 100755 --- a/tests/albentohandy.bats +++ b/tests/albentohandy.bats @@ -610,7 +610,7 @@ teardown() { assert_line --index 4 "OPTIONS" assert_line --index 5 " -h show this usage" assert_line --index 6 " -i optional input list (default albumlist)" - assert_line --index 7 " -l lib [vorbis|mp3|opus|flac|]" + assert_line --index 7 " -l lib [vorbis|flac|mp3|opus|]" } @@ -631,5 +631,5 @@ teardown() { assert_line --index 6 "OPTIONS" assert_line --index 7 " -h show this usage" assert_line --index 8 " -i optional input list (default albumlist)" - assert_line --index 9 " -l lib [vorbis|mp3|opus|flac|]" + assert_line --index 9 " -l lib [vorbis|flac|mp3|opus|]" } \ No newline at end of file