src & contrib: update users of `OptionContext::get_errors`
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 1 Sep 2015 18:28:41 +0000 (14:28 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Wed, 2 Sep 2015 19:40:40 +0000 (15:40 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

contrib/neo_doxygen/src/neo_doxygen.nit
src/toolcontext.nit

index 431809c..0713567 100644 (file)
@@ -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
index 47366b3..93479ea 100644 (file)
@@ -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