summaryrefslogtreecommitdiffstats
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
commit53e6d06c1bdbc06c38e2aedcad452d656cd4734c (patch)
tree980fbe0234918d99c10a7ce6e17b0d6a931b3f03 /demandoc.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 'demandoc.1')
-rw-r--r--demandoc.118
1 files changed, 7 insertions, 11 deletions
diff --git a/demandoc.1 b/demandoc.1
index 9f0d36fe..64c5222d 100644
--- a/demandoc.1
+++ b/demandoc.1
@@ -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 ,