summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-02-04 01:02:48 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-02-04 01:02:48 +0000
commit59eca22be04d63218f1474cdf8d0736910c41c3d (patch)
tree997a4bc46a3f12f4433477a20242069cd5aff7da /libexec
parent209c779a9cd70325ae8b6643f91b2a89e0ca801f (diff)
Document new stuff...
Diffstat (limited to 'libexec')
-rw-r--r--libexec/makewhatis/makewhatis.823
1 files changed, 21 insertions, 2 deletions
diff --git a/libexec/makewhatis/makewhatis.8 b/libexec/makewhatis/makewhatis.8
index 9663c8e9554..cf65df4c9d5 100644
--- a/libexec/makewhatis/makewhatis.8
+++ b/libexec/makewhatis/makewhatis.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: makewhatis.8,v 1.5 1999/09/19 23:15:02 alex Exp $
+.\" $OpenBSD: makewhatis.8,v 1.6 2000/02/04 01:02:47 espie Exp $
.\" $NetBSD: makewhatis.8,v 1.2.2.1 1997/11/10 19:57:45 thorpej Exp $
.\"
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -44,12 +44,15 @@
.Sh SYNOPSIS
.Nm makewhatis
.Op Ar manpath ...
+.Nm makewhatis
+.Fl d Ar manpath
+.Ar files ...
.Sh DESCRIPTION
.Nm
strips the NAME lines from compiled or raw
.Xr man 1
pages and creates
-a whatis.db database
+a whatis.db database (that is, a subject index)
for use in
.Xr apropos 1
or with
@@ -70,6 +73,22 @@ and
are uncompressed before processing, unformatted man pages
will be processed by
.Xr getNAME 8 .
+.Pp
+If the
+.Fl d
+option is used,
+.Nm
+merges the description of
+.Ar files
+with an existing
+.Pa whatis.db
+database in
+.Ar manpath .
+.Sh FILES
+.Bl -tag -width whatis.db -compact
+.It Pa whatis.db
+index to man pages in directory.
+.El
.Sh SEE ALSO
.Xr man 1 ,
.Xr man.conf 5 ,