summaryrefslogtreecommitdiff
path: root/usr.bin/apropos/apropos.1
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-03-10 05:51:30 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-03-10 05:51:30 +0000
commitce21e2204c94a5e821df977950311d9ee757d600 (patch)
treecc8fc09fae3526f7146a99c2f0a2cebcea473a2f /usr.bin/apropos/apropos.1
parent19fdb6d219cdc3ea1495722bc27d42562dcd78c5 (diff)
Correct SYNOPSIS, document option `-C', add /etc/man.conf to section FILES,
add references to man.conf(5) and makewhatis(8); Andrey Matveev
Diffstat (limited to 'usr.bin/apropos/apropos.1')
-rw-r--r--usr.bin/apropos/apropos.119
1 files changed, 16 insertions, 3 deletions
diff --git a/usr.bin/apropos/apropos.1 b/usr.bin/apropos/apropos.1
index f6e8fa8cc6e..fb2e06b43f3 100644
--- a/usr.bin/apropos/apropos.1
+++ b/usr.bin/apropos/apropos.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: apropos.1,v 1.7 2000/11/09 17:52:01 aaron Exp $
+.\" $OpenBSD: apropos.1,v 1.8 2003/03/10 05:51:29 millert Exp $
.\" $NetBSD: apropos.1,v 1.4 1995/09/04 20:46:17 tls Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
@@ -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 @@ its documentation.
.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 @@ The format of the path is a colon
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