Allow MANWIDTH to work with mandoc(1)
Reported by: bdrewery
This commit is contained in:
parent
dd4fcbc594
commit
d433cf9a8a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282980
@ -311,8 +311,11 @@ man_display_page() {
|
||||
return
|
||||
fi
|
||||
|
||||
if [ -n "$use_width" ]; then
|
||||
mandoc_args="-O width=${use_width}"
|
||||
fi
|
||||
testline="mandoc -Tlint -Wunsupp 2>/dev/null"
|
||||
pipeline="mandoc | $MANPAGER"
|
||||
pipeline="mandoc $mandoc_args | $MANPAGER"
|
||||
|
||||
if ! eval "$cattool $manpage | $testline" ;then
|
||||
if which -s groff; then
|
||||
|
Loading…
Reference in New Issue
Block a user