diff options
author | Daniel Friesel <derf@finalrewind.org> | 2010-12-19 15:07:31 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2010-12-19 15:07:31 +0100 |
commit | 4df89c1057213ce792e6bb8337fb3d0310d74529 (patch) | |
tree | 7db3ba26ac830e55d50bbdb8f8a898c33a016d6c /bin | |
parent | 4b5f3cc16d56ac7620a001fe5066f17ca8fb7309 (diff) |
hashl: Option to change read_size
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/hashl | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -27,7 +27,8 @@ my $VERSION = '0.1'; my $db; GetOptions( - 'd|database=s' => \$db_file, + 'd|database=s' => \$db_file, + 's|read-size=d' => sub { $read_size = $_[0] * 1024 }, ); if (substr($db_file, 0, 1) ne '/') { |