From 836349386616d663529a34716dc5b943b8a44b99 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Tue, 1 Sep 2015 14:28:41 -0400 Subject: [PATCH] src & contrib: update users of `OptionContext::get_errors` MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- contrib/neo_doxygen/src/neo_doxygen.nit | 2 +- src/toolcontext.nit | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/neo_doxygen/src/neo_doxygen.nit b/contrib/neo_doxygen/src/neo_doxygen.nit index 431809c..0713567 100644 --- a/contrib/neo_doxygen/src/neo_doxygen.nit +++ b/contrib/neo_doxygen/src/neo_doxygen.nit @@ -199,7 +199,7 @@ class NeoDoxygenCommand end option_context.parse(args) - var errors = option_context.get_errors + var errors = option_context.errors var rest = option_context.rest if errors.is_empty and not opt_help.value and rest.length != 2 then diff --git a/src/toolcontext.nit b/src/toolcontext.nit index 47366b3..93479ea 100644 --- a/src/toolcontext.nit +++ b/src/toolcontext.nit @@ -469,7 +469,7 @@ The Nit language documentation and the source code of its tools and libraries ma exit 0 end - var errors = option_context.get_errors + var errors = option_context.errors if not errors.is_empty then for e in errors do print "Error: {e}" print tooldescription -- 1.7.9.5