From 4ef1a73c22f8cd07f733bdeb6ff49da28ea8aa93 Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Sat, 13 Jun 2026 12:54:09 +0200 Subject: [PATCH] style.mdoc.5: Document Nd style The Nd macro takes the rest of the line as an argument, so there is no need for extra quoting. MFC after: 3 days --- share/man/man5/style.mdoc.5 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/share/man/man5/style.mdoc.5 b/share/man/man5/style.mdoc.5 index c4c2aa7b369..0c1da38d918 100644 --- a/share/man/man5/style.mdoc.5 +++ b/share/man/man5/style.mdoc.5 @@ -1,9 +1,9 @@ .\" -.\" Copyright (c) 2018-2025 Mateusz Piotrowski <0mp@FreeBSD.org> +.\" Copyright (c) 2018-2026 Mateusz Piotrowski <0mp@FreeBSD.org> .\" .\" SPDX-License-Identifier: BSD-2-Clause .\" -.Dd February 16, 2025 +.Dd June 13, 2026 .Dt STYLE.MDOC 5 .Os .Sh NAME @@ -13,6 +13,13 @@ This file specifies the preferred style for manual pages in the .Fx source tree. +.Ss NAME Section +.Bl -dash -width "" +.It +Do not quote the document description provided to the +.Sy \&.Nd +macro. +.El .Ss Code Examples .Bl -dash -width "" .It