summaryrefslogtreecommitdiffstats
path: root/mandoc.1
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-12-25 19:35:44 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-12-25 19:35:44 +0000
commit53e6d06c1bdbc06c38e2aedcad452d656cd4734c (patch)
tree980fbe0234918d99c10a7ce6e17b0d6a931b3f03 /mandoc.1
parent6a77081b4e30b2766639dbf6e063db437049632b (diff)
downloadmandoc-53e6d06c1bdbc06c38e2aedcad452d656cd4734c.tar.gz
State default usage before listing arguments of a utility. Inspired by a
patch to mandocdb.8 by schwarze@ some time ago. Ok jmc@.
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.125
1 files changed, 13 insertions, 12 deletions
diff --git a/mandoc.1 b/mandoc.1
index c581a5f0..778737aa 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -34,6 +34,19 @@ The
utility formats
.Ux
manual pages for display.
+.Pp
+By default,
+.Nm
+reads
+.Xr mdoc 7
+or
+.Xr man 7
+text from stdin, implying
+.Fl m Ns Cm andoc ,
+and produces
+.Fl T Ns Cm ascii
+output.
+.Pp
The arguments are as follows:
.Bl -tag -width Ds
.It Fl m Ns Ar format
@@ -96,18 +109,6 @@ If multiple files are specified,
.Nm
will halt with the first failed parse.
.El
-.Pp
-By default,
-.Nm
-reads
-.Xr mdoc 7
-or
-.Xr man 7
-text from stdin, implying
-.Fl m Ns Cm andoc ,
-and produces
-.Fl T Ns Cm ascii
-output.
.Ss Input Formats
The
.Nm