Skip to content

Commit f4aa4a2

Browse files
committed
p6doc -h|--help shows a useful USAGE message
1 parent bb8e1eb commit f4aa4a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bin/p6doc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ sub show-docs(Str $path, :$section, :$no-pager) {
7070
shell $doc-command-str;
7171
}
7272

73-
multi sub MAIN() {
74-
73+
sub USAGE() {
7574
say 'What documentation do you want to read?';
7675
say "Examples: $PROGRAM-NAME Str";
7776
say " $PROGRAM-NAME Str.split";

0 commit comments

Comments
 (0)