aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitdbbcf4312fe517f62b905254453b4ddd1923055f (patch)
tree6beebd341621c19503dd30578e19b84342d17c7a
parentb937567eadd652635bc2b6f42ca06e3679e4cd41 (diff)
downloadmandoc-dbbcf4312fe517f62b905254453b4ddd1923055f.tar.gz
mandoc-dbbcf4312fe517f62b905254453b4ddd1923055f.tar.zst
mandoc-dbbcf4312fe517f62b905254453b4ddd1923055f.zip
document -Q and -T; from OpenBSD
-rw-r--r--mandocdb.832
1 files changed, 24 insertions, 8 deletions
diff --git a/mandocdb.8 b/mandocdb.8
index 52e412a8..75ddd989 100644
--- a/mandocdb.8
+++ b/mandocdb.8
@@ -1,4 +1,4 @@
-.\" $Id: mandocdb.8,v 1.21 2014/03/17 08:34:00 schwarze Exp $
+.\" $Id: mandocdb.8,v 1.22 2014/04/03 15:24:32 schwarze Exp $
.\"
.\" Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2011, 2012 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,7 +15,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: March 17 2014 $
+.Dd $Mdocdate: April 3 2014 $
.Dt MANDOCDB 8
.Os
.Sh NAME
@@ -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