aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitfe96e1360e5ae0b06ebcc7fa1d8fa5e38846093b (patch)
tree83c49312a96c65a95ef35f03cf8ed9c774d8131a /mandoc.1
parentca227bf5f3d09e4e0e8db2c2931780855601912a (diff)
downloadmandoc-fe96e1360e5ae0b06ebcc7fa1d8fa5e38846093b.tar.gz
mandoc-fe96e1360e5ae0b06ebcc7fa1d8fa5e38846093b.tar.zst
mandoc-fe96e1360e5ae0b06ebcc7fa1d8fa5e38846093b.zip
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.129
1 files changed, 15 insertions, 14 deletions
diff --git a/mandoc.1 b/mandoc.1
index 58242fee..dbff0e31 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.99 2011/11/13 14:50:54 schwarze Exp $
+.\" $Id: mandoc.1,v 1.100 2011/12/25 19:35:44 kristaps Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 13 2011 $
+.Dd $Mdocdate: December 25 2011 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -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