diff options
Diffstat (limited to 'contrib/mandoc/mandoc.1')
-rw-r--r-- | contrib/mandoc/mandoc.1 | 43 |
1 files changed, 18 insertions, 25 deletions
diff --git a/contrib/mandoc/mandoc.1 b/contrib/mandoc/mandoc.1 index 32a3e2811513..0f83bcd53f1b 100644 --- a/contrib/mandoc/mandoc.1 +++ b/contrib/mandoc/mandoc.1 @@ -1,4 +1,4 @@ -.\" $Id: mandoc.1,v 1.270 2025/03/03 14:07:51 schwarze Exp $ +.\" $Id: mandoc.1,v 1.273 2025/08/22 13:17:06 schwarze Exp $ .\" .\" Copyright (c) 2012, 2014-2023, 2025 Ingo Schwarze <schwarze@openbsd.org> .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> @@ -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: March 3 2025 $ +.Dd $Mdocdate: August 22 2025 $ .Dt MANDOC 1 .Os .Sh NAME @@ -292,19 +292,6 @@ Increasing this is not recommended; it may result in degraded formatting, for example overfull lines or ugly line breaks. When output is to a pager on a terminal that is less than 66 columns wide, the default is reduced to three columns. -.It Cm mdoc -Format -.Xr man 7 -input files in -.Xr mdoc 7 -output style. -This prints the operating system name rather than the page title -on the right side of the footer line. -One useful application is for checking that -.Fl T Cm man -output formats in the same way as the -.Xr mdoc 7 -source it was generated from. .It Cm tag Ns Op = Ns Ar term If the formatted manual page is opened in a pager, go to the definition of the @@ -1015,14 +1002,14 @@ macro that could be represented using or .Ic \&Dx . .It Sy "errnos out of order" -.Pq mdoc, Nx +.Pq mdoc , Nx The .Ic \&Er items in a .Ic \&Bl list are not in alphabetical order. .It Sy "duplicate errno" -.Pq mdoc, Nx +.Pq mdoc , Nx A .Ic \&Bl list contains two consecutive @@ -1121,17 +1108,21 @@ but leaving out the backslash might not be portable. .Ss Warnings related to the document prologue .Bl -ohang .It Sy "missing manual title, using UNTITLED" -.Pq mdoc +.Pq mdoc , man A .Ic \&Dt -macro has no arguments, or there is no +or +.Ic \&TH +macro has no arguments, its first argument is an empty string, or there is no .Ic \&Dt -macro before the first non-prologue macro. +macro before the first non-prologue +.Xr mdoc 7 +macro. .It Sy "missing manual title, using \(dq\(dq" .Pq man -There is no +An input document does not contain any .Ic \&TH -macro, or it has no arguments. +macro. .It Sy "missing manual section, using \(dq\(dq" .Pq mdoc , man A @@ -1159,7 +1150,7 @@ The argument is used as provided anyway. Consider checking whether the file name or the argument need a correction. .It Sy "missing date, using \(dq\(dq" -.Pq mdoc, man +.Pq mdoc , man The document was parsed as .Xr mdoc 7 and it has no @@ -1741,7 +1732,7 @@ or macro contains an opening or closing parenthesis; that's probably wrong, parentheses are added automatically. .It Sy "unknown library name" -.Pq mdoc, not on Ox +.Pq mdoc , not on Ox An .Ic \&Lb macro has an unknown name argument and will be rendered as @@ -1799,7 +1790,7 @@ The last character is mapped to the blank character. .Ss "Warnings related to plain text" .Bl -ohang .It Sy "blank line in fill mode, using .sp" -.Pq mdoc +.Pq mdoc , man The meaning of blank input lines is only well-defined in non-fill mode: In fill mode, line breaks of text input lines are not supposed to be significant. @@ -1809,6 +1800,8 @@ are formatted like requests. To request a paragraph break, use .Ic \&Pp +or +.Ic \&PP instead of a blank line. .It Sy "tab in filled text" .Pq mdoc , man |