summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-05-06 22:35:30 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-05-06 22:35:30 +0200
commit8ac749380d03f3aaef24a4812211e0df200b47ba (patch)
tree9617fb14e751975694dfeef2ee9940f0f324c617 /bin
parent24c8f62c7fdd14876df4ef83ca6e6530d0b0fba3 (diff)
Release v0.10.1
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hashl5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/hashl b/bin/hashl
index 5c386a4..35891f1 100755
--- a/bin/hashl
+++ b/bin/hashl
@@ -37,6 +37,7 @@ GetOptions(
'd|database=s' => \$db_file,
'n|no-progress' => sub { $show_progress = 0 },
's|read-size=i' => sub { $read_size = $_[1] * 1024 },
+ 'V|version' => sub { say "hashl version ${VERSION}"; exit 0 },
) or usage();
if (substr($db_file, 0, 1) ne '/') {
@@ -485,6 +486,10 @@ Change size of the part of each file which is hashed. By default, B<hashl>
hashes the first 4 MiB. Note that this option only makes sense when using C<<
hashl update >> to create a new database.
+=item B<-V>|B<--version>
+
+Print version information.
+
=back
=head1 CONFIGURATION