aboutsummaryrefslogtreecommitdiff
path: root/core/args.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/args.lua')
-rw-r--r--core/args.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/args.lua b/core/args.lua
index b7ddde8d..db0238d1 100644
--- a/core/args.lua
+++ b/core/args.lua
@@ -24,11 +24,12 @@ local switches = {}
-- *long*, respectively. *narg* is the number of arguments the switch accepts,
-- *f* is the function called when the switch is tripped, and *description* is
-- the switch's description when displaying help.
--- @param short String short version of the switch.
--- @param long String long version of the switch.
+-- @param short The string short version of the switch.
+-- @param long The string long version of the switch.
-- @param narg The number of expected parameters for the switch.
-- @param f The Lua function to run when the switch is tripped.
--- @param description Description of the switch for command line help.
+-- @param description The string description of the switch for command line
+-- help.
-- @name register
function M.register(short, long, narg, f, description)
local t = {f, narg, description}