diff options
author | 2019-05-04 01:14:34 +0000 | |
---|---|---|
committer | 2019-05-04 01:14:34 +0000 | |
commit | 4b70baf6e17fc8b27fc1f7fa7929335753fa94c3 (patch) | |
tree | 29b0eb6b139f9220094a7be4553d170f9eda6fb9 /gnu/usr.bin/perl/cpan/Pod-Perldoc/lib/Pod/Perldoc.pm | |
parent | Use MOUNT_POINT throughout, consistant with other platforms. (diff) | |
download | wireguard-openbsd-4b70baf6e17fc8b27fc1f7fa7929335753fa94c3.tar.xz wireguard-openbsd-4b70baf6e17fc8b27fc1f7fa7929335753fa94c3.zip |
Fix Pod::Perldoc::ToMan and use it as the default perldoc formatter
From Andrew Daugherity <andrew.daugherity () gmail ! com>
Corrections to fix and OK millert@, suggestions and OK schwarze@
Diffstat (limited to 'gnu/usr.bin/perl/cpan/Pod-Perldoc/lib/Pod/Perldoc.pm')
-rw-r--r-- | gnu/usr.bin/perl/cpan/Pod-Perldoc/lib/Pod/Perldoc.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/cpan/Pod-Perldoc/lib/Pod/Perldoc.pm b/gnu/usr.bin/perl/cpan/Pod-Perldoc/lib/Pod/Perldoc.pm index bb6ffc83efb..42ed4b49d54 100644 --- a/gnu/usr.bin/perl/cpan/Pod-Perldoc/lib/Pod/Perldoc.pm +++ b/gnu/usr.bin/perl/cpan/Pod-Perldoc/lib/Pod/Perldoc.pm @@ -486,6 +486,8 @@ sub init_formatter_class_list { $self->opt_M_with('Pod::Perldoc::ToPod'); # the always-there fallthru $self->opt_o_with('text'); + $self->opt_o_with('man') + if $ENV{TERM} && $ENV{TERM} !~ /dumb|emacs|none|unknown/i; return; } |