summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
Diffstat (limited to 'man.c')
-rw-r--r--man.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/man.c b/man.c
index 803c9ca4..45ce4872 100644
--- a/man.c
+++ b/man.c
@@ -466,6 +466,12 @@ man_err(struct man *m, int line, int pos,
case (WTQUOTE):
p = "unterminated quotation";
break;
+ case (WNODATA):
+ p = "document has no data";
+ break;
+ case (WNOTITLE):
+ p = "document has no title/section";
+ break;
}
assert(p);