diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-06 07:13:14 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-06 07:13:14 +0000 |
commit | 0c49342c6e879353195f2df060ebceb497f66497 (patch) | |
tree | 85a0c5ef0f49f8974731f4a4347de279e8f166e5 /mandoc.1 | |
parent | f1b8e7051e92af5f6c90c234ea75598ee7976318 (diff) | |
download | mandoc-0c49342c6e879353195f2df060ebceb497f66497.tar.gz |
Delete the legacy generic warning type MANDOCERR_ARGCWARN,
replacing the last instances by more specific warnings.
Improved functionality, minus 50 lines of code.
Diffstat (limited to 'mandoc.1')
-rw-r--r-- | mandoc.1 | 21 |
1 files changed, 13 insertions, 8 deletions
@@ -994,8 +994,19 @@ except that it may control a following clause. .It Sy "skipping empty macro" .Pq mdoc -The indicated macro has no arguments or no body content -and hence no effect. +The indicated macro has no arguments and hence no effect. +.It Sy "empty block" +.Pq mdoc , man +A +.Ic \&Bd , +.Ic \&Bk , +.Ic \&Bl , +.Ic \&D1 , +.Ic \&Dl , +.Ic \&RS , +or +.Ic \&UR +block contains nothing in its body and will produce no output. .It Sy "empty argument, using 0n" .Pq mdoc The required width is missing after @@ -1005,12 +1016,6 @@ or .Fl offset or .Fl width. -.It Sy "argument count wrong" -.Pq mdoc , man -The indicated macro has too few or too many arguments. -The syntax tree will contain the wrong number of arguments as given. -Formatting behaviour depends on the specific macro in question. -Note that the same message may also occur as an ERROR, see below. .It Sy "missing display type, using -ragged" .Pq mdoc The |