* mdocml: Simplify: mention at one place that -fkl override each other,
@ 2017-03-27 14:41 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2017-03-27 14:41 UTC (permalink / raw)
To: source
Log Message:
-----------
Simplify: mention at one place that -fkl override each other,
rather than stating it separately for each option.
Suggested, OKed, and tweaked by jmc@.
Modified Files:
--------------
mdocml:
apropos.1
man.1
mandoc.1
Revision Data
-------------
Index: man.1
===================================================================
RCS file: /home/cvs/mdocml/mdocml/man.1,v
retrieving revision 1.26
retrieving revision 1.27
diff -Lman.1 -Lman.1 -u -p -r1.26 -r1.27
--- man.1
+++ 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
.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
Index: apropos.1
===================================================================
RCS file: /home/cvs/mdocml/mdocml/apropos.1,v
retrieving revision 1.43
retrieving revision 1.44
diff -Lapropos.1 -Lapropos.1 -u -p -r1.43 -r1.44
--- apropos.1
+++ 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
Index: mandoc.1
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mandoc.1,v
retrieving revision 1.181
retrieving revision 1.182
diff -Lmandoc.1 -Lmandoc.1 -u -p -r1.181 -r1.182
--- mandoc.1
+++ 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
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-27 14:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-27 14:41 mdocml: Simplify: mention at one place that -fkl override each other, schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).