doc: preserve --help line breaks in 'REPORTING BUGS' man page section

* man/help2man: Insert .br between adjacent lines.
This commit is contained in:
Jim Meyering 2009-02-01 20:29:14 +01:00
parent 6b8578af5e
commit e3e9713fad

View File

@ -607,6 +607,9 @@ for my $sect (@pre, (grep ! /^($filter)$/o, @include), @post)
# Convert some latin1 chars to troff equivalents
s/\xa0/\\ /g; # non-breaking space
$sect eq 'REPORTING BUGS'
and s/\n(.)/\n.br\n$1/g;
print;
}
}