diff --git a/usr.bin/man/man.sh b/usr.bin/man/man.sh index e125e5be3f8..094ea11c10a 100755 --- a/usr.bin/man/man.sh +++ b/usr.bin/man/man.sh @@ -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