Add actions for arguments

This commit is contained in:
mpeterv
2015-10-30 15:18:24 +03:00
parent babe715548
commit decd2040fa
2 changed files with 26 additions and 1 deletions

View File

@@ -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({