From 7bf97cf91ff3758d2ae5bd689701fd3ede858bea Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 21 Aug 2005 22:04:49 +0000 Subject: Help text added for --help. Confusion about the --dirisalbum and --dirisalbumname options. What do they actually do? git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7377 a1c6a512-1295-4272-9138-f99709370657 --- tools/songdb.pl | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'tools/songdb.pl') diff --git a/tools/songdb.pl b/tools/songdb.pl index 7154ba33d8..b2ab78082a 100755 --- a/tools/songdb.pl +++ b/tools/songdb.pl @@ -74,7 +74,23 @@ my $dbver = 3; if(! -d $dir or $help) { print "'$dir' is not a directory\n" if ($dir ne "" and ! -d $dir); - print "songdb --path [--dirisalbum] [--dirisalbumname] [--db ] [--strip ] [--add ] [--verbose] [--help]\n"; + print < [--dirisalbum] [--dirisalbumname] [--db ] [--strip ] [--add ] [--verbose] [--help] + +Options: + + --path Where your music collection is found + --dirisalbum Use dir name as album name if the album name is missing in the + tags + --dirisalbumname Uh, isn\'t this the same as the above? + --db What to call the output file. Defaults to rockbox.tagdb + --strip Removes this string from the left of all file names + --add Adds this string to the left of all file names + --verbose Shows more details while working + --help This text +MOO +; exit; } -- cgit v1.2.3