Skip to content

Commit 59bf06a

Browse files
committed
Also allow p6doc <filename>
1 parent a7ed560 commit 59bf06a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin/p6doc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ multi sub MAIN($docee, Bool :$f!) {
118118
}
119119
}
120120

121+
multi sub MAIN(Str $file where $file.IO ~~ :e) {
122+
show-docs($file);
123+
}
124+
121125
sub disambiguate-f-search( $docee, %data ) {
122126
my %found;
123127

0 commit comments

Comments
 (0)