Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2026 12:52:20 +0000
From:      Alexander Ziaee <ziaee@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: bcd50fe5c3c6 - main - style.mdoc: Explain why not to abuse Nm
Message-ID:  <6a071704.1edeb.3d5b357f@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by ziaee:

URL: https://cgit.FreeBSD.org/src/commit/?id=bcd50fe5c3c6e70c710e13378999814e9df43d3c

commit bcd50fe5c3c6e70c710e13378999814e9df43d3c
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-05-15 12:49:20 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-05-15 12:50:42 +0000

    style.mdoc: Explain why not to abuse Nm
    
    MFC after:              3 days
    Reviewed by:            0mp
    Differential Revision:  https://reviews.freebsd.org/D55299
---
 share/man/man5/style.mdoc.5 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/share/man/man5/style.mdoc.5 b/share/man/man5/style.mdoc.5
index 64e2291d1c75..c4c2aa7b3695 100644
--- a/share/man/man5/style.mdoc.5
+++ b/share/man/man5/style.mdoc.5
@@ -41,6 +41,12 @@ which renders as:
 Then run
 .Ql Nm make Cm install Cm clean .
 .Ed
+.Pp
+This pollutes the
+.Xr whatis 1
+database, causing
+.Ql whatis clean
+to incorrectly show the page it was written in.
 .El
 .Ss Copyright Header
 Refer to


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a071704.1edeb.3d5b357f>