diff --git a/src/tidler b/src/tidler index 482a9b2..6ee80f0 100755 --- a/src/tidler +++ b/src/tidler @@ -2,6 +2,7 @@ . tidler.conf # Load ENVs from config file +version="0.3.0" if [ -n "$PROXY_URL" ]; then proxy_url="$PROXY_URL" @@ -267,9 +268,6 @@ searchAlbum() { } - -echo "Welcome to TiDLer!" && echo "" - if [ "$1" = "search" ]; then if [ "$#" -ge 2 ]; then shift @@ -292,6 +290,8 @@ elif [ "$1" = "album" ]; then else searchAlbum fi +elif [ "$1" == "version" ]; then + echo "TiDLer $version by Medvidek77" elif [ "$1" = "help" ]; then echo "" @@ -306,6 +306,8 @@ elif [ "$1" = "help" ]; then echo "" echo "album {album_name}-optional -> search and download any album" echo "" + echo "version -> print TiDLer version" + echo "" echo "help -> print this message and exit" else echo "### Choose function! (Enter number) ###"