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