git: de72f7644981 - stable/14 - style.mdoc: Explain why not to abuse Nm

Alexander Ziaee <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a750b64.1fccc.276797ae__13008.6076956772$1786055767$gmane$org@gitrepo.freebsd.org>
The branch stable/14 has been updated by ziaee:

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

commit de72f7644981ec7f06d333bbffb79d24281170c1
Author:     Alexander Ziaee <[email protected]>
AuthorDate: 2026-05-15 12:49:20 +0000
Commit:     Alexander Ziaee <[email protected]>
CommitDate: 2026-08-06 22:28:25 +0000

    style.mdoc: Explain why not to abuse Nm
    
    MFC after:              3 days
    Reviewed by:            0mp
    Differential Revision:  https://reviews.freebsd.org/D55299
    
    (cherry picked from commit bcd50fe5c3c6e70c710e13378999814e9df43d3c)
---
 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.