From: Steven Schubiger Date: Sun, 2 Oct 2005 07:25:37 +0000 (-0700) Subject: Pod::Usage documentation fix, suggested by : X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bd4d8faaf7ff83f2f09479bf77553121e8d422f5;hp=5596814408229890caf65f1e85854d103697d576;p=p5sagit%2Fp5-mst-13.2.git Pod::Usage documentation fix, suggested by : Subject: [perl #37322] Pod::Usage implementation of -sections disagrees with its documentation From: "Steven Schubiger via RT" Message-ID: p4raw-id: //depot/perl@25686 --- diff --git a/lib/Pod/Usage.pm b/lib/Pod/Usage.pm index c298e94..a29eab2 100644 --- a/lib/Pod/Usage.pm +++ b/lib/Pod/Usage.pm @@ -96,11 +96,11 @@ is 1, then the "SYNOPSIS" section, along with any section entitled "OPTIONS", "ARGUMENTS", or "OPTIONS AND ARGUMENTS" is printed. If the corresponding value is 2 or more then the entire manpage is printed. -The special verbosity level 99 requires to also specify the -section +The special verbosity level 99 requires to also specify the -sections parameter; then these sections are extracted (see L) and printed. -=item C<-section> +=item C<-sections> A string representing a selection list for sections to be printed when -verbose is set to 99, e.g. C<"NAME|SYNOPSIS|DESCRIPTION|VERSION">.