summaryrefslogtreecommitdiff
path: root/bin/dthumb
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-02-28 20:02:49 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-02-28 20:02:49 +0100
commitbd0120cdb2e371e620999d749cba741287da3094 (patch)
tree5ce74fd8657162dcd4e10d06146a2fd16c4241a4 /bin/dthumb
parent694341406be9293ec4ed96707eabb1038702c8c7 (diff)
Make HTML document title configurable via -t/--title option
Diffstat (limited to 'bin/dthumb')
-rwxr-xr-xbin/dthumb9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/dthumb b/bin/dthumb
index dcf82cf..fa3f975 100755
--- a/bin/dthumb
+++ b/bin/dthumb
@@ -20,11 +20,12 @@ GetOptions(
$opt,
qw{
help|h
- size|d=i
- spacing|s=f
no-lightbox|L
no-names|n
quality|q=i
+ size|d=i
+ spacing|s=f
+ title|t=s
version|v
},
) or die("Please see perldoc -F $0\n");
@@ -114,6 +115,10 @@ no border at all, etc.
Defaults to 1.1
+=item B<-t>, B<--title> I<string>
+
+Set HTML document title. Defaults to the basename of the current directory
+
=item B<-q>, B<--quality> I<int>
Set thumbnail quality.