aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-10-11 15:46:19 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-10-11 15:46:19 +0000
commit7113944571eb8954664d41200813db1a1d5e1d02 (patch)
treedc941af8fb58f579fd168371c1b821bc96c83d77 /main.c
parentb729779f70beff4550eea216b4be1c930d814079 (diff)
downloadmandoc-7113944571eb8954664d41200813db1a1d5e1d02.tar.gz
mandoc-7113944571eb8954664d41200813db1a1d5e1d02.tar.zst
mandoc-7113944571eb8954664d41200813db1a1d5e1d02.zip
Use proper error for `An' multiple arguments.
Making IGNARGV be an ERROR, not a WARNING, as information is lost.
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 97c3390b..4d94a3ca 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.107 2010/09/27 09:26:27 kristaps Exp $ */
+/* $Id: main.c,v 1.108 2010/10/11 15:46:19 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -132,7 +132,6 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"unterminated quoted string",
"argument requires the width argument",
"superfluous width argument",
- "ignoring argument",
"bad date argument",
"bad width argument",
"unknown manual section",
@@ -149,6 +148,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"list type repeated",
"display type repeated",
"argument repeated",
+ "ignoring argument",
"manual name not yet set",
"obsolete macro ignored",
"empty macro ignored",