Restore man -t for manpages rendered by mandoc
Reported by: swills
This commit is contained in:
parent
b5750fe77b
commit
a31c9038cc
@ -315,7 +315,11 @@ man_display_page() {
|
||||
mandoc_args="-O width=${use_width}"
|
||||
fi
|
||||
testline="mandoc -Tlint -Wunsupp 2>/dev/null"
|
||||
pipeline="mandoc $mandoc_args | $MANPAGER"
|
||||
if [ -n "$tflag" ]; then
|
||||
pipeline="mandoc -Tps $mandoc_args"
|
||||
else
|
||||
pipeline="mandoc $mandoc_args | $MANPAGER"
|
||||
fi
|
||||
|
||||
if ! eval "$cattool $manpage | $testline" ;then
|
||||
if which -s groff; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user