Skip to content

Commit 1452a95

Browse files
committed
a little helper to locate the index file
farabi6 wants to read out the index itself
1 parent 88bad9d commit 1452a95

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bin/p6doc-index

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ multi sub MAIN() {
1414
say "Usage: $*PROGRAM_NAME build to build an index for 'p6doc -f'";
1515
say "Usage: $*PROGRAM_NAME list to list the names";
1616
say "Usage: $*PROGRAM_NAME lookup <key> to display module name containing key";
17+
say "Usage: $*PROGRAM_NAME path-to-index to show where the index file lives";
18+
}
19+
20+
multi sub MAIN('path-to-index') {
21+
say INDEX;
1722
}
1823

1924
multi sub MAIN('build') {

0 commit comments

Comments
 (0)