From 6d601f57d01308c8dcd7d348a05eaf33f9f1b9ce Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 28 Dec 2014 14:42:27 +0000 Subject: 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 . --- man.1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'man.1') 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. -- cgit v1.2.3-56-ge451