diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-04 16:12:08 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-04 16:12:08 +0000 |
commit | 50b8b4d12d3828eef15079704fdc9586de75c7ef (patch) | |
tree | 3e223cee342e42199f2de9b6bcbb50544b658366 /read.c | |
parent | 977b1ebb8e08cb6933cea2f78ab50687dcd69da7 (diff) | |
download | mandoc-50b8b4d12d3828eef15079704fdc9586de75c7ef.tar.gz mandoc-50b8b4d12d3828eef15079704fdc9586de75c7ef.tar.zst mandoc-50b8b4d12d3828eef15079704fdc9586de75c7ef.zip |
Clean up messages regarding excess arguments:
* Downgrade ".Bf -emphasis Em" from FATAL to WARNING.
* Mention the macros, the arguments, and the fallbacks.
* Hierarchical naming.
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 <kristaps@bsd.lv> * Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org> @@ -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 \"..\"", |