summaryrefslogtreecommitdiffstats
path: root/preconv.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 /preconv.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 'preconv.1')
-rw-r--r--preconv.114
1 files changed, 5 insertions, 9 deletions
diff --git a/preconv.1 b/preconv.1
index e15f2a27..ab49302a 100644
--- a/preconv.1
+++ b/preconv.1
@@ -38,6 +38,11 @@ or other troff system supporting the
escape sequence
.Pc
input.
+.Pp
+By default, it parses from standard output, determining encoding as
+described in
+.Sx Algorithm .
+.Pp
Its arguments are as follows:
.Bl -tag -width Ds
.It Fl D Ar enc
@@ -48,15 +53,6 @@ The document's encoding.
The input file.
.El
.Pp
-If
-.Ar file
-is not provided,
-.Nm
-accepts standard input.
-See
-.Sx Algorithm
-for encoding choice.
-.Pp
The recoded input is written to standard output: Unicode characters in
the ASCII range are printed as regular ASCII characters, while those
above this range are printed using the