mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-30 03:52:19 +00:00
Add actions for arguments
This commit is contained in:
@@ -256,7 +256,8 @@ local Argument = class({
|
||||
typechecked("target", "string"),
|
||||
typechecked("defmode", "string"),
|
||||
typechecked("show_default", "boolean"),
|
||||
typechecked("argname", "string", "table")
|
||||
typechecked("argname", "string", "table"),
|
||||
typechecked("action", "function")
|
||||
})
|
||||
|
||||
local Option = class({
|
||||
|
Reference in New Issue
Block a user