summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-04-03 15:24:32 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-04-03 15:24:32 +0000
commitda1a2cc08f7b02615dc8a1dd1e9d14f6c17502bf (patch)
treee10c2752192ee3493c90f528401527c9689e1352
parent58fb8b7dc007dbb0556480e6fe27825c26dc52bd (diff)
downloadmandoc-da1a2cc08f7b02615dc8a1dd1e9d14f6c17502bf.tar.gz
document -Q and -T; from OpenBSD
-rw-r--r--mandocdb.828
1 files changed, 22 insertions, 6 deletions
diff --git a/mandocdb.8 b/mandocdb.8
index 1c6b091f..9e66e9e3 100644
--- a/mandocdb.8
+++ b/mandocdb.8
@@ -23,20 +23,25 @@
.Nd index UNIX manuals
.Sh SYNOPSIS
.Nm
-.Op Fl anvW
+.Op Fl anQvW
+.Op Fl T Cm utf8
.Op Fl C Ar file
.Nm
-.Op Fl anvW
+.Op Fl anQvW
+.Op Fl T Cm utf8
.Ar dir ...
.Nm
-.Op Fl nvW
+.Op Fl nQvW
+.Op Fl T Cm utf8
.Fl d Ar dir
.Op Ar
.Nm
.Op Fl nvW
+.Op Fl T Cm utf8
.Fl u Ar dir
.Op Ar
.Nm
+.Op Fl Q
.Fl t Ar
.Sh DESCRIPTION
The
@@ -89,6 +94,11 @@ Specify an alternative configuration
in
.Xr man.conf 5
format.
+.It Fl D
+Display all files added or removed to the index.
+With a second
+.Fl D ,
+also show all keyswords added for each file.
.It Fl d Ar dir
Merge (remove and re-add)
.Ar
@@ -97,6 +107,12 @@ to the database in
.It Fl n
Do not create or modify any database;
scan and parse only.
+.It Fl Q
+Quickly build reduced-size databases
+by reading only the NAME sections of manuals.
+The resulting databases will usually contain names and descriptions only.
+.It Fl T Cm utf8
+Use UTF-8 encoding instead of ASCII for strings stored in the databases.
.It Fl t Ar
Check the given
.Ar files
@@ -168,7 +184,7 @@ It was rewritten in
for
.Ox 2.7
and in C for
-.Ox 5.1 .
+.Ox 5.6 .
.Pp
The
.Ar dir
@@ -179,9 +195,9 @@ the options
in
.Ox 2.7 ;
and the options
-.Fl aCvW
+.Fl aCnQTvW
in
-.Ox 5.1 .
+.Ox 5.6 .
.Sh AUTHORS
.An -nosplit
.An Bill Joy