Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
end
option_context.parse(args)
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
var rest = option_context.rest
if errors.is_empty and not opt_help.value and rest.length != 2 then
- 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
if not errors.is_empty then
for e in errors do print "Error: {e}"
print tooldescription