diff options
Diffstat (limited to 'bin/hashl')
-rwxr-xr-x | bin/hashl | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |