From df2356a3639c1262e6ea6534e6c69b0325514036 Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 28 Feb 2023 22:05:52 -0600 Subject: fix dmenu misspelling (there is no dmene=) --- songgrab | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'songgrab') diff --git a/songgrab b/songgrab index 879baac..82040e4 100755 --- a/songgrab +++ b/songgrab @@ -12,6 +12,19 @@ for i in $@; do [ -n "$GETTRACKNUM" ] && TRACKNUM="$i" && unset GETTRACKNUM [ -n "$GETYEAR" ] && YEAR="$i" && unset GETYEAR case "$i" in + "-h") + printf "Grabs music (either individual songs or albums) and formats it.\n" + printf "\n" + printf " -s | downloads and formats a single song.\n" + printf " -l | downloads and formats a whole album.\n" + printf " -p | downloads and formats an album (via a playlist).\n" + printf " -u | the url to download.\n" + printf " -a | the artist name (to tag every song with).\n" + printf " -A | the album name (to tag every song with).\n" + printf " -t | the title of the song (if downloading a single song).\n" + printf " -T | the number of the track in its album (if downloading a single song).\n" + printf " -y | the year of release.\n" + exit 0 ;; "-s") SPLITTER_SELECTION="s" ;; @@ -45,6 +58,7 @@ done ARTIST=`echo $ARTIST | sed 's/^ //'` ALBUM=`echo $ALBUM | sed 's/^ //'` TITLE=`echo $TITLE | sed 's/^ //'` + printf "Received Tags: Artist: $ARTIST Album: $ALBUM -- cgit v1.2.3