aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man.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
commit6d601f57d01308c8dcd7d348a05eaf33f9f1b9ce (patch)
tree085c053e6a6fb2e3d0413f31ef56ea03bfbc9772 /man.1
parentf39353f2335ef79f686c763d3cc3777bf474dacc (diff)
downloadmandoc-6d601f57d01308c8dcd7d348a05eaf33f9f1b9ce.tar.gz
mandoc-6d601f57d01308c8dcd7d348a05eaf33f9f1b9ce.tar.zst
mandoc-6d601f57d01308c8dcd7d348a05eaf33f9f1b9ce.zip
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 'man.1')
-rw-r--r--man.17
1 files changed, 5 insertions, 2 deletions
diff --git a/man.1 b/man.1
index 65db3861..7ec0f5de 100644
--- a/man.1
+++ b/man.1
@@ -1,4 +1,4 @@
-.\" $Id: man.1,v 1.9 2014/12/18 21:11:46 schwarze Exp $
+.\" $Id: man.1,v 1.10 2014/12/28 14:42:27 schwarze Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\"
.\" @(#)man.1 8.2 (Berkeley) 1/2/94
.\"
-.Dd $Mdocdate: December 18 2014 $
+.Dd $Mdocdate: December 28 2014 $
.Dt MAN 1
.Os
.Sh NAME
@@ -106,6 +106,9 @@ Override the default operating system
for the
.Xr mdoc 7
.Ic \&Os
+and for the
+.Xr man 7
+.Ic \&TH
macro.
.It Fl h
Display only the SYNOPSIS lines of the requested manual pages.