mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-28 11:02:20 +00:00
An attempt to fix a problem with Lua 5.1
This commit is contained in:
@@ -916,5 +916,5 @@ function Parser:pparse(args)
|
|||||||
end
|
end
|
||||||
|
|
||||||
return function(...)
|
return function(...)
|
||||||
return Parser(arg[0]):add_help(true)(...)
|
return Parser(arg and arg[0]):add_help(true)(...)
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user