summaryrefslogtreecommitdiff
path: root/pod/buildtoc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-11-08 14:29:08 +0100
committerNicholas Clark <nick@ccl4.org>2011-11-18 11:08:56 +0100
commit45f5b240fba94effa0c3b0357368ee11ea3a7441 (patch)
tree64a4e1af5335dfc39d10c6f3ceb1d1af494f138c /pod/buildtoc
parent7412110ec868500d7a6dfe0682686e17aa707803 (diff)
downloadperl-45f5b240fba94effa0c3b0357368ee11ea3a7441.tar.gz
buildtoc --showfiles should only list the files to regenerated.
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.
Diffstat (limited to 'pod/buildtoc')
-rw-r--r--pod/buildtoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/buildtoc b/pod/buildtoc
index 142708f895..fc49da94e0 100644
--- a/pod/buildtoc
+++ b/pod/buildtoc
@@ -96,7 +96,7 @@ __USAGE__
File::Spec->catfile(@d ?
(@d == 1 && $d[0] eq '' ? () : @d)
: "pod", $f);
- } @Targets{@files}),
+ } values %Build),
"\n";
exit(0);
}