From 50b8b4d12d3828eef15079704fdc9586de75c7ef 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 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'read.c') diff --git a/read.c b/read.c index e33ab915..008fe2b2 100644 --- a/read.c +++ b/read.c @@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.60 2014/07/04 01:50:07 schwarze Exp $ */ +/* $Id: read.c,v 1.61 2014/07/04 16:12:08 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010-2014 Ingo Schwarze @@ -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 v1.2.3