summaryrefslogtreecommitdiff
path: root/pod/pod2text.PL
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2002-08-03 13:56:42 -0700
committerhv <hv@crypt.org>2002-08-22 12:05:57 +0000
commit11f72409a81d362ab963d688ed5b84835e953fd8 (patch)
tree551d2a5cedd8d66d5d323d69c39f6501da5c616b /pod/pod2text.PL
parentcaffd4cf829def5d43751df796fc8cbd66c0794d (diff)
downloadperl-11f72409a81d362ab963d688ed5b84835e953fd8.tar.gz
podlators 1.24 released
Message-ID: <ylbs8jff9h.fsf@windlord.stanford.edu> p4raw-id: //depot/perl@17753
Diffstat (limited to 'pod/pod2text.PL')
-rw-r--r--pod/pod2text.PL10
1 files changed, 8 insertions, 2 deletions
diff --git a/pod/pod2text.PL b/pod/pod2text.PL
index 53270dd3ab..0486e2da0a 100644
--- a/pod/pod2text.PL
+++ b/pod/pod2text.PL
@@ -78,8 +78,8 @@ my %options;
$options{sentence} = 0;
Getopt::Long::config ('bundling');
GetOptions (\%options, 'alt|a', 'code', 'color|c', 'help|h', 'indent|i=i',
- 'loose|l', 'overstrike|o', 'quotes|q=s', 'sentence|s',
- 'termcap|t', 'width|w=i') or exit 1;
+ 'loose|l', 'margin|left-margin|m=i', 'overstrike|o',
+ 'quotes|q=s', 'sentence|s', 'termcap|t', 'width|w=i') or exit 1;
pod2usage (1) if $options{help};
# Figure out what formatter we're going to use. -c overrides -t.
@@ -162,6 +162,12 @@ printed after C<=head1>, although one is still printed after C<=head2>,
because this is the expected formatting for manual pages; if you're
formatting arbitrary text documents, using this option is recommended.
+=item B<-m> I<width>, B<--left-margin>=I<width>, B<--margin>=I<width>
+
+The width of the left margin in spaces. Defaults to 0. This is the margin
+for all text, including headings, not the amount by which regular text is
+indented; for the latter, see B<-i> option.
+
=item B<-o>, B<--overstrike>
Format the output with overstruck printing. Bold text is rendered as