From 8ac749380d03f3aaef24a4812211e0df200b47ba Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 6 May 2011 22:35:30 +0200 Subject: Release v0.1 --- bin/hashl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/hashl') 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 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 -- cgit v1.2.3