Skip to content

Commit 81de65a

Browse files
committed
sub MAIN and sub USAGE are collected to generate /routine/
1 parent 2c33f20 commit 81de65a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Language/functions.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ print-bar Foo.new;
879879
Coercion types are supposed to work wherever types work, but Rakudo currently
880880
(2017.05) only implements them in signatures, for both parameters and return types.
881881
882-
=head1 C<sub MAIN>
882+
=head1 sub MAIN
883883
X<|MAIN>X«|command line arguments»
884884
885885
The sub with the special name C<MAIN> is executed after all relevant phasers,
@@ -932,7 +932,7 @@ positional parameter. For example, the above program can be called with:
932932
perl6 example.p6 1 --c=2 3 --d=4
933933
=end code
934934
935-
=head1 C<sub USAGE>
935+
=head1 sub USAGE
936936
X<|USAGE>X<|$*USAGE>
937937
938938
If no multi candidate of C<MAIN> is found for the given command line

0 commit comments

Comments
 (0)