mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-14 20:37:06 +00:00
Restore man -t for manpages rendered by mandoc
Reported by: swills
This commit is contained in:
parent
6861045bda
commit
449a792dd5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=287987
|
@ -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…
Reference in a new issue