summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apropos.113
-rw-r--r--man.122
-rw-r--r--mandoc.118
3 files changed, 11 insertions, 42 deletions
diff --git a/apropos.1 b/apropos.1
index 6d50b85b..c82efb1d 100644
--- a/apropos.1
+++ b/apropos.1
@@ -96,20 +96,10 @@ in manual page names only.
The search is case insensitive and matches whole words only.
In this mode, macro keys, comparison operators, and logical operators
are not available.
-This overrides any earlier
-.Fl k
-and
-.Fl l
-options.
.It Fl k
Support the full
.Ar expression
syntax.
-This overrides any earlier
-.Fl f
-and
-.Fl l
-options.
It is the default for
.Nm .
.It Fl M Ar path
@@ -147,6 +137,9 @@ The options
.Fl chlw
are also supported and are documented in
.Xr man 1 .
+The options
+.Fl fkl
+are mutually exclusive and override each other.
.Pp
An
.Ar expression
diff --git a/man.1 b/man.1
index f3a37ec5..b52a9343 100644
--- a/man.1
+++ b/man.1
@@ -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
diff --git a/mandoc.1 b/mandoc.1
index ac1a3d9f..5d508851 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -68,11 +68,6 @@ It can be specified to override
.It Fl f
A synonym for
.Xr whatis 1 .
-This overrides any earlier
-.Fl k
-and
-.Fl l
-options.
.It Fl h
Display only the SYNOPSIS lines.
Implies
@@ -123,19 +118,9 @@ Otherwise, input is interpreted as
.It Fl k
A synonym for
.Xr apropos 1 .
-This overrides any earlier
-.Fl f
-and
-.Fl l
-options.
.It Fl l
A synonym for
.Fl a .
-Also reverts any earlier
-.Fl f
-and
-.Fl k
-options.
.It Fl mdoc | man
With
.Fl mdoc ,
@@ -222,6 +207,9 @@ also supports the options
described in the
.Xr apropos 1
manual.
+The options
+.Fl fkl
+are mutually exclusive and override each other.
.Ss Output Formats
The
.Nm