Skip to content

Commit

Permalink
clarify phrasing
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Jul 11, 2017
1 parent 29e7f54 commit a24b3fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/Language/functions.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ and its signature is the means by which command line arguments can be
parsed. Multi methods are supported and a usage method is automatically
generated and displayed if no command line arguments are provided. All command
line arguments are also available in
L<C<@*ARGS>|/language/variables#Dynamic_variables>, it can be mutated before
L<C<@*ARGS>|/language/variables#Dynamic_variables>, which can be mutated before
being processed by C<MAIN>.
The return value of C<MAIN> is ignored. To provide an exitcode other then 0,
Expand Down Expand Up @@ -908,8 +908,8 @@ positional parameter. For example, the above program can be called with:
X<|USAGE>
If no multi candidate of C<MAIN> is found for the given command line
parameters, the sub C<USAGE> is called. If no such method is found, output a
generated usage message.
parameters, the sub C<USAGE> is called. If no such method is found,
the compiler will output a generated usage message.
sub MAIN(Int $i){ say $i == 42 ?? 'answer' !! 'dunno' }
Expand Down

0 comments on commit a24b3fa

Please sign in to comment.