Skip to content

Commit 54cdd80

Browse files
authored
Merge pull request #1094 from kalkin/master
Unify output of p6doc & p6doc -h
2 parents b60bd51 + 3dc045c commit 54cdd80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/p6doc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ 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";
7877
say " $PROGRAM-NAME faq";
78+
say " $PROGRAM-NAME path/to/file";
7979

8080
say "\nYou can list some top level documents:";
8181
say " $PROGRAM-NAME -l";

0 commit comments

Comments
 (0)