summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2022-03-16 23:23:25 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2022-03-16 23:23:25 +0000
commitb07339a0bf111136c4ceeb4a3f9d70bc8bc7854b (patch)
treeebfdda4eab288b59053e8e170d227a9d46bf4ba9 /usr.bin
parent52d3d386b852f0aaaf2e306092b8cbf38150cec0 (diff)
Just say that the databases are intended for use by apropos(1), whatis(1),
and man(1), without restricting that statement to "man -k". Suggested by and patch OK'ed by jmc@. While only apropos(1) and whatis(1) strictly require the database and while our man(1) implementation can find many manual pages even when no database is available or when the database is incomplete or corrupt, it does use the database even without -k whenever possible. Consequently, this change makes the manual page less confusing.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mandoc/makewhatis.88
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/mandoc/makewhatis.8 b/usr.bin/mandoc/makewhatis.8
index c42bcc490fd..10eb5a7a4bb 100644
--- a/usr.bin/mandoc/makewhatis.8
+++ b/usr.bin/mandoc/makewhatis.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: makewhatis.8,v 1.14 2017/05/17 22:26:52 schwarze Exp $
+.\" $OpenBSD: makewhatis.8,v 1.15 2022/03/16 23:23:24 schwarze Exp $
.\"
.\" Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2011, 2012, 2014, 2017 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: May 17 2017 $
+.Dd $Mdocdate: March 16 2022 $
.Dt MAKEWHATIS 8
.Os
.Sh NAME
@@ -52,9 +52,7 @@ manuals and indexes them in a database for fast retrieval by
.Xr apropos 1 ,
.Xr whatis 1 ,
and
-.Xr man 1 Ns 's
-.Fl k
-option.
+.Xr man 1 .
.Pp
By default,
.Nm