fix bug where -a would not print all files

This commit is contained in:
Ward Wouts 2015-08-13 13:24:46 +00:00
parent b9bfa6e1dd
commit 08dc613fbb

View file

@ -27,7 +27,7 @@ push @filelist, @files;
if ( $opts{m} ) { if ( $opts{m} ) {
&mp3_comp(@filelist); &mp3_comp(@filelist);
} else { } else {
if ( $opts{f} ) { if ( $opts{f} or $opts{a} ) {
&get_md5s(@filelist); &get_md5s(@filelist);
} else { } else {
my %sizes = &get_sizes(@filelist); my %sizes = &get_sizes(@filelist);