aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-03-27 14:40:39 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-03-27 14:40:39 +0000
commitb519a7eef9c953c9a7d050a7fe9a748e1f3f855c (patch)
tree74830ab3788164db5afb4588d08085a961d7e03f /man.1
parent453348712c366bcefbc25634a8de33b61a440e69 (diff)
downloadmandoc-b519a7eef9c953c9a7d050a7fe9a748e1f3f855c.tar.gz
mandoc-b519a7eef9c953c9a7d050a7fe9a748e1f3f855c.tar.zst
mandoc-b519a7eef9c953c9a7d050a7fe9a748e1f3f855c.zip
Simplify: mention at one place that -fkl override each other,
rather than stating it separately for each option. Suggested, OKed, and tweaked by jmc@.
Diffstat (limited to 'man.1')
-rw-r--r--man.126
1 files changed, 7 insertions, 19 deletions
diff --git a/man.1 b/man.1
index 2656d319..7955ba13 100644
--- a/man.1
+++ b/man.1
@@ -1,4 +1,4 @@
-.\" $Id: man.1,v 1.26 2017/03/25 12:46:36 schwarze Exp $
+.\" $Id: man.1,v 1.27 2017/03/27 14:40:39 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: March 25 2017 $
+.Dd $Mdocdate: March 27 2017 $
.Dt MAN 1
.Os
.Sh NAME
@@ -91,11 +91,6 @@ It searches for
.Ar name
in manual page names and displays the header lines from all matching pages.
The search is case insensitive and matches whole words only.
-This overrides any earlier
-.Fl k
-and
-.Fl l
-options.
.It Fl h
Display only the SYNOPSIS lines of the requested manual pages.
Implies
@@ -111,11 +106,6 @@ an expression can be provided using the syntax described in the
.Xr apropos 1
manual.
By default, it displays the header lines of all matching pages.
-This overrides any earlier
-.Fl f
-and
-.Fl l
-options.
.It Fl l
A synonym for
.Xr mandoc 1
@@ -127,15 +117,10 @@ No search is done and
.Ar file ,
.Ar path ,
.Ar section ,
-and
-.Ar subsection
-are ignored.
-This overrides any earlier
-.Fl f ,
-.Fl k ,
+.Ar subsection ,
and
.Fl w
-options.
+are ignored.
.It Fl M Ar path
Override the list of standard directories which
.Nm
@@ -218,6 +203,9 @@ The options
.Fl IKOTW
are also supported and are documented in
.Xr mandoc 1 .
+The options
+.Fl fkl
+are mutually exclusive and override each other.
.Pp
Guidelines for writing
man pages can be found in