summaryrefslogtreecommitdiffstats
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-02-06 07:13:14 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-02-06 07:13:14 +0000
commit0c49342c6e879353195f2df060ebceb497f66497 (patch)
tree85a0c5ef0f49f8974731f4a4347de279e8f166e5 /mandoc.1
parentf1b8e7051e92af5f6c90c234ea75598ee7976318 (diff)
downloadmandoc-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.121
1 files changed, 13 insertions, 8 deletions
diff --git a/mandoc.1 b/mandoc.1
index e8e97336..8a2124bf 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -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