perl-Pod-Perldoc/Pod-Perldoc-3.17-Remove-POD...

61 lines
1.7 KiB
Diff

From f5257762b57e644f943f6d8a8da382b62b1585b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Tue, 15 May 2012 11:11:51 +0200
Subject: [PATCH] Remove POD code from perldoc synopis
<https://rt.cpan.org/Public/Bug/Display.html?id=77209>
---
lib/perldoc.pod | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/lib/perldoc.pod b/lib/perldoc.pod
index 1cb08c6..798db23 100644
--- a/lib/perldoc.pod
+++ b/lib/perldoc.pod
@@ -5,28 +5,28 @@ perldoc - Look up Perl documentation in Pod format.
=head1 SYNOPSIS
- B<perldoc> [B<-h>] [B<-D>] [B<-t>] [B<-u>] [B<-m>] [B<-l>] [B<-F>]
- [B<-i>] [B<-V>] [B<-T>] [B<-r>]
- [B<-dI<destination_file>>]
- [B<-oI<formatname>>]
- [B<-MI<FormatterClassName>>]
- [B<-wI<formatteroption:value>>]
- [B<-n>I<nroff-replacement>]
- [B<-X>]
- [B<-L> I<language_code>]
+ perldoc [-h] [-D] [-t] [-u] [-m] [-l] [-F]
+ [-i] [-V] [-T] [-r]
+ [-dI<destination_file>]
+ [-oI<formatname>]
+ [-MI<FormatterClassName>]
+ [-wI<formatteroption:value>]
+ [-nI<nroff-replacement>]
+ [-X]
+ [-L I<language_code>]
PageName|ModuleName|ProgramName|URL
Examples:
- B<perldoc> B<-f> BuiltinFunction
+ perldoc -f BuiltinFunction
- B<perldoc> B<-L> it B<-f> BuiltinFunction
+ perldoc -L it -f BuiltinFunction
- B<perldoc> B<-q> FAQ Keyword
+ perldoc -q FAQ Keyword
- B<perldoc> B<-L> fr B<-q> FAQ Keyword
+ perldoc -L fr -q FAQ Keyword
- B<perldoc> B<-v> PerlVariable
+ perldoc -v PerlVariable
See below for more description of the switches.
--
1.7.7.6