Module Name: src
Committed By: abhinav
Date: Sat Jun 18 06:36:18 UTC 2016
Modified Files:
src/usr.sbin/makemandb: makemandb.8
Log Message:
Improve wording, and add reference to mandoc(3)
Ok from wiz@
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/makemandb/makemandb.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/makemandb/makemandb.8
diff -u src/usr.sbin/makemandb/makemandb.8:1.9 src/usr.sbin/makemandb/makemandb.8:1.10
--- src/usr.sbin/makemandb/makemandb.8:1.9 Sun May 22 05:03:17 2016
+++ src/usr.sbin/makemandb/makemandb.8 Sat Jun 18 06:36:18 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: makemandb.8,v 1.9 2016/05/22 05:03:17 abhinav Exp $
+.\" $NetBSD: makemandb.8,v 1.10 2016/06/18 06:36:18 abhinav Exp $
.\"
.\" Copyright (c) 2011 Abhinav Upadhyay <[email protected]>
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd March 3, 2015
+.Dd June 18, 2016
.Dt MAKEMANDB 8
.Os
.Sh NAME
@@ -44,14 +44,14 @@
The
.Nm
utility traverses the directories containing man pages, parses the manual
-pages with the help of libmandoc and builds an Sqlite database
+pages with the help of
+.Xr mandoc 3
+and builds an Sqlite database
to support full text searches by
.Xr apropos 1 .
It obtains the list of directories to traverse using the
-.Fl Ar path
-and
.Fl p
-options of
+option of
.Xr man 1 .
.Pp
It supports the following options:
@@ -69,9 +69,10 @@ This option can be used to mimic the beh
.Xr apropos 1
and also to substantially save disk space.
.It Fl o
-Use this option to optimize the index for speed and also
-to significantly reduce disk space usage.
-This is a somewhat expensive operation.
+Use this option to optimize the index for faster search by
+.Xr apropos 1
+and also to significantly reduce disk space usage.
+This is an expensive I/O operation.
.It Fl Q
Print only fatal error messages (i.e., when the database is left in
an inconsistent state and needs manual intervention).
@@ -119,6 +120,7 @@ tag.
.Xr apropos 1 ,
.Xr man 1 ,
.Xr whatis 1 ,
+.Xr mandoc 3 ,
.Xr man.conf 5
.Sh AUTHORS
.An Abhinav Upadhyay