mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Restore man -t for manpages rendered by mandoc
Reported by: swills
This commit is contained in:
parent
6861045bda
commit
449a792dd5
1 changed files with 5 additions and 1 deletions
|
|
@ -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