summaryrefslogtreecommitdiffstats
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-28 14:42:27 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-28 14:42:27 +0000
commite0c8ee70b0d6b84f57714a5446e2ecfeca8826b4 (patch)
treea958c1c720cac88b7740009ea1436b5c356e1eb7 /mandoc.1
parent6c9bf65b847eba6ae5bf1d6bf9d72a29550bf824 (diff)
downloadmandoc-e0c8ee70b0d6b84f57714a5446e2ecfeca8826b4.tar.gz
mdoc(7) already uses the mandoc(1) -Ios argument in the footer line
when .Os has no argument, so do the same for man(7) when .TH has less than four arguments; there is no reason to treat both differently. Issue found following a question from Thomas Klausner <wiz at NetBSD>.
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.13
1 files changed, 3 insertions, 0 deletions
diff --git a/mandoc.1 b/mandoc.1
index 5b55b728..65487dba 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -85,6 +85,9 @@ Override the default operating system
for the
.Xr mdoc 7
.Sq \&Os
+and for the
+.Xr man 7
+.Sq \&TH
macro.
.It Fl h
Display only the SYNOPSIS lines.