aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/demandoc.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 /demandoc.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 'demandoc.1')
-rw-r--r--demandoc.122
1 files changed, 9 insertions, 13 deletions
diff --git a/demandoc.1 b/demandoc.1
index 9d4ad218..845b9c14 100644
--- a/demandoc.1
+++ b/demandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: demandoc.1,v 1.5 2011/09/02 13:04:05 kristaps Exp $
+.\" $Id: demandoc.1,v 1.6 2011/12/25 19:35:44 kristaps Exp $
.\"
.\" Copyright (c) 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: September 2 2011 $
+.Dd $Mdocdate: December 25 2011 $
.Dt DEMANDOC 1
.Os
.Sh NAME
@@ -33,6 +33,13 @@ and
.Xr man 7
.Ux
manual files.
+.Pp
+By default,
+.Nm
+parses standard input and outputs only text nodes, preserving line
+and column position.
+Escape sequences are omitted from the output.
+.Pp
Its arguments are as follows:
.Bl -tag -width Ds
.It Fl w
@@ -49,19 +56,8 @@ stripped.
The input files.
.El
.Pp
-If
-.Ar file
-is not provided,
-.Nm
-accepts standard input.
If a document is not well-formed, it is skipped.
.Pp
-By default,
-.Nm
-parses its input and outputs only text nodes, preserving line column
-position.
-Escape sequences are omitted from the output.
-.Pp
The
.Fl i ,
.Fl k ,