Skip to content

Commit 2448d23

Browse files
author
Geoffrey Broadwell
committed
Delete a phrase in S06:3314-3316 that gave surprising --help semantics; s/argument/option/ in the same sentence so that '--' can be handled properly.
1 parent 6d7f9f1 commit 2448d23

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

S06-routines.pod

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3311,9 +3311,8 @@ semicolon-style declaration that controls the whole file.
33113311

33123312
If an attempted dispatch to C<MAIN> fails, the C<USAGE> routine is called.
33133313
If there is no C<USAGE> routine, a default message is printed to standard
3314-
error. If the C<MAIN> routine does not declare a named parameter C<:$help>,
3315-
and C<--help> is passed as a command line argument to the program, the usage
3316-
message is printed to standard output instead.
3314+
error. If C<--help> is passed as a command line option to the program, the
3315+
usage message is printed to standard output instead.
33173316

33183317
This usage message is automatically generated from the signature (or
33193318
signatures) of C<MAIN>. This message is generated at compile time,

0 commit comments

Comments
 (0)