aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Ziaee <ziaee@FreeBSD.org>2026-05-15 12:49:20 +0000
committerAlexander Ziaee <ziaee@FreeBSD.org>2026-05-15 12:50:42 +0000
commitbcd50fe5c3c6e70c710e13378999814e9df43d3c (patch)
tree49a1d85669338cf1ba9dc3470ab9c008d5673151
parentae0fd05a333b0ab9e6f020b07a0e483e6f85538a (diff)
style.mdoc: Explain why not to abuse Nm
MFC after: 3 days Reviewed by: 0mp Differential Revision: https://reviews.freebsd.org/D55299
-rw-r--r--share/man/man5/style.mdoc.56
1 files changed, 6 insertions, 0 deletions
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