usage: fix uninitialized-value message if no directories given
authorZygo Blaxell <zblaxell@faye.furryterror.org>
Sat, 27 Mar 2010 14:16:27 +0000 (10:16 -0400)
committerZygo Blaxell <zblaxell@faye.furryterror.org>
Sat, 27 Mar 2010 14:16:27 +0000 (10:16 -0400)
faster-dupemerge

index 075f0c7c7cb3db23aea8ea0f8633eed443de4842..4cdef9716fd5e5de600b9810a198936ca9d46301 100755 (executable)
@@ -242,7 +242,7 @@ while ($#ARGV >= 0) {
        }
 }
 
        }
 }
 
-@directories or usage;
+@directories or usage($0);
 
 if (defined($lock_file) && !$dry_run) {
        sysopen(LOCK_FILE, $lock_file, O_CREAT|O_RDONLY, 0666) or die "open: $lock_file: $!";
 
 if (defined($lock_file) && !$dry_run) {
        sysopen(LOCK_FILE, $lock_file, O_CREAT|O_RDONLY, 0666) or die "open: $lock_file: $!";