Allow MANWIDTH to work with mandoc(1)
Reported by: bdrewery
This commit is contained in:
parent
66e343b64f
commit
10d3fc4445
@ -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…
x
Reference in New Issue
Block a user