We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74e5032 commit 52ada67Copy full SHA for 52ada67
lib/Pod/Perldoc/ToMan.pm
@@ -227,6 +227,10 @@ sub _collect_nroff_switches {
227
push @render_switches, '-rLL=' . (int $c) . 'n' if $cols > 80;
228
}
229
230
+ if( $self->_is_mandoc ) {
231
+ push @render_switches, '-Owidth=' . $self->_get_columns;
232
+ }
233
+
234
# I hear persistent reports that adding a -c switch to $render
235
# solves many people's problems. But I also hear that some mans
236
# don't have a -c switch, so that unconditionally adding it here
0 commit comments