Browse Source

Markdown.pl: format --help output properly

Make the full help output use the correct formatting
if available so it looks as nice as possible.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
master
Kyle J. McKay 4 years ago
parent
commit
6a118b8c53
  1. 2
      Markdown.pl

2
Markdown.pl

@ -571,6 +571,8 @@ sub _require_pod_usage() {
require Pod::Usage;
eval 'require Pod::Text::Termcap; 1;' and
@Pod::Usage::ISA = (qw( Pod::Text::Termcap ));
defined($ENV{PERLDOC}) && $ENV{PERLDOC} ne "" or
$ENV{PERLDOC} = "-oterm -oman";
}
#### BBEdit/command-line text filter interface ##########################

Loading…
Cancel
Save