From 75cc39c2a41a2eef6085721de92ebcdf1b8868f6 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 4 Jul 2014 16:12:08 +0000 Subject: Clean up messages regarding excess arguments: * Downgrade ".Bf -emphasis Em" from FATAL to WARNING. * Mention the macros, the arguments, and the fallbacks. * Hierarchical naming. --- read.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'read.c') diff --git a/read.c b/read.c index 0177d93b..43f4b650 100644 --- a/read.c +++ b/read.c @@ -137,7 +137,8 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "missing -width in -tag list, using 8n", "empty head in list item", "empty list item", - "missing font type", + "missing font type, using \\fR", + "unknown font type, using \\fR", "missing -std argument, adding it", /* related to bad macro arguments */ @@ -194,7 +195,8 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "uname(3) system call failed", "request requires a numeric argument", "missing list type, using -item", - "line argument(s) will be lost", + "skipping all arguments", + "skipping excess arguments", "generic fatal error", @@ -202,7 +204,6 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "not a manual", "column syntax is inconsistent", "NOT IMPLEMENTED: .Bd -file", - "argument count wrong, violates syntax", "child violates parent syntax", "argument count wrong, violates syntax", "NOT IMPLEMENTED: .so with absolute path or \"..\"", -- cgit