[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(patch) update apropos(1) manpage
- To: bugs_(_at_)_openbsd_(_dot_)_org
- Subject: (patch) update apropos(1) manpage
- From: Andrey Matveev <andrushock_(_at_)_korovino_(_dot_)_net>
- Date: Mon, 10 Mar 2003 04:42:07 +0300
Correct SYNOPSIS, document option `-C', add /etc/man.conf to section FILES,
add references to man.conf(5) and makewhatis(8).
Index: usr.bin/apropos/apropos.1
===================================================================
RCS file: /cvs/src/usr.bin/apropos/apropos.1,v
retrieving revision 1.7
diff -u -r1.7 apropos.1
--- usr.bin/apropos/apropos.1 2000/11/09 17:52:01 1.7
+++ usr.bin/apropos/apropos.1 2003/03/09 22:24:14
@@ -42,6 +42,7 @@
.Nd locate commands by keyword lookup
.Sh SYNOPSIS
.Nm apropos
+.Op Fl C Ar file
.Op Fl M Ar path
.Op Fl m Ar path
.Ar keyword
@@ -69,6 +70,12 @@
.Pp
The options are as follows:
.Bl -tag -width Ds
+.It Fl C Ar file
+Specify an alternative configuration
+.Ar file
+in
+.Xr man.conf 5
+format.
.It Fl M Ar path
Override the list of standard directories
.Nm
@@ -110,14 +117,20 @@
separated list of directories.
.El
.Sh FILES
-.Bl -tag -width whatis.db -compact
+.Bl -tag -width /etc/man.conf -compact
.It Pa whatis.db
name of the apropos database
+.It Pa /etc/man.conf
+default
+.Xr man 1
+configuration file
.El
.Sh SEE ALSO
.Xr man 1 ,
.Xr whatis 1 ,
-.Xr whereis 1
+.Xr whereis 1 ,
+.Xr man.conf 5 ,
+.Xr makewhatis 8
.Sh HISTORY
The
.Nm
Visit your host, monkey.org