diff --git a/lib/src/parser.dart b/lib/src/parser.dart index 63ac111..660e56d 100644 --- a/lib/src/parser.dart +++ b/lib/src/parser.dart @@ -74,7 +74,7 @@ class Parser { throw ArgParserException( error.message, [commandName, ...error.commands], - argumentNameerror.argumentName, + error.argumentName, error.source, error.offset); }