mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-28 19:12:19 +00:00
:pparse() should still raise an error if it is caused by misconfiguration
This commit is contained in:
@@ -778,6 +778,7 @@ function Parser:pparse(args)
|
||||
if ok then
|
||||
return true, result
|
||||
else
|
||||
assert(errmsg, result)
|
||||
return false, errmsg
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user