From 140ae54c8a573c04824dd96957ebff4e069b2dfd Mon Sep 17 00:00:00 2001 From: schwarze Date: Wed, 16 Mar 2022 23:23:24 +0000 Subject: [PATCH] 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. --- usr.bin/mandoc/makewhatis.8 | 8 +++----- 1 file 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 .\" Copyright (c) 2011, 2012, 2014, 2017 Ingo Schwarze @@ -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 -- 2.20.1