buildtoc --showfiles should only list the files to regenerated.
authorNicholas Clark <nick@ccl4.org>
Tue, 8 Nov 2011 13:29:08 +0000 (14:29 +0100)
committerNicholas Clark <nick@ccl4.org>
Fri, 18 Nov 2011 10:08:56 +0000 (11:08 +0100)
This fixes a bug caused by the refactoring of commit 9dce16cd064e70e6,
which caused --showfiles to always list list all known files, irrespective
of which had been specified with command line flags.

pod/buildtoc

index 142708f..fc49da9 100644 (file)
@@ -96,7 +96,7 @@ __USAGE__
                   File::Spec->catfile(@d ?
                                       (@d == 1 && $d[0] eq '' ? () : @d)
                                       : "pod", $f);
-              } @Targets{@files}),
+              } values %Build),
           "\n";
       exit(0);
   }