summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-08-21 22:04:49 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-08-21 22:04:49 +0000
commit7bf97cf91ff3758d2ae5bd689701fd3ede858bea (patch)
treed3ad579283b966de6e9825de3cf19465295c3e69 /tools
parentdece414749fa7155020e5794debfcb657e79fa66 (diff)
downloadrockbox-7bf97cf91ff3758d2ae5bd689701fd3ede858bea.tar.gz
rockbox-7bf97cf91ff3758d2ae5bd689701fd3ede858bea.zip
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
Diffstat (limited to 'tools')
-rwxr-xr-xtools/songdb.pl18
1 files changed, 17 insertions, 1 deletions
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 <dir> [--dirisalbum] [--dirisalbumname] [--db <file>] [--strip <path>] [--add <path>] [--verbose] [--help]\n";
+ print <<MOO
+
+songdb --path <dir> [--dirisalbum] [--dirisalbumname] [--db <file>] [--strip <path>] [--add <path>] [--verbose] [--help]
+
+Options:
+
+ --path <dir> 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 <file> What to call the output file. Defaults to rockbox.tagdb
+ --strip <path> Removes this string from the left of all file names
+ --add <path> Adds this string to the left of all file names
+ --verbose Shows more details while working
+ --help This text
+MOO
+;
exit;
}