diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-01-03 20:28:25 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-01-03 20:28:25 +0100 |
commit | cda9838961775441086c57b67d0ec8655a3aa58b (patch) | |
tree | 783741f900f8dc74d72ed39182cf6015ac62dc22 | |
parent | 29d4decc90f14d7d36aa726a0e073243f240c0d9 (diff) |
hashl list: Print header with version/readsize info
-rwxr-xr-x | bin/hashl | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -318,6 +318,12 @@ sub cmd_info { } sub cmd_list { + printf( + "# hashl v%s Read Size %d bytes (%d KiB)\n", + $VERSION, + $db->{'config'}->{'read_size'}, + $db->{'config'}->{'read_size'} / 1024, + ); for my $name (sort keys %{$db->{'files'}}) { my $file = $db->{'files'}->{$name}; printf("%s %s\n", $file->{'hash'}, $name); |