mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-30 03:52:19 +00:00
added a few tests for :pparse()
This commit is contained in:
@@ -769,7 +769,7 @@ end
|
||||
function Parser:pparse(args)
|
||||
local errmsg
|
||||
local ok, result = pcall(function()
|
||||
return self:_parse(args, function(err)
|
||||
return self:_parse(args, function(parser, err)
|
||||
errmsg = err
|
||||
return error()
|
||||
end)
|
||||
|
Reference in New Issue
Block a user