summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hashl4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/hashl b/bin/hashl
index 3948821..30b3993 100755
--- a/bin/hashl
+++ b/bin/hashl
@@ -303,7 +303,7 @@ sub cmd_list {
$hashl->read_size(),
$hashl->si_size($hashl->read_size()),
);
- for my $name ($hashl->files()) {
+ for my $name (sort $hashl->files()) {
my $file = $hashl->file($name);
printf(
"%s %-7s %s\n",
@@ -315,7 +315,7 @@ sub cmd_list {
}
sub cmd_list_files {
- say join("\n", $hashl->files());
+ say join("\n", sort $hashl->files());
}
sub cmd_list_ignored {