Lines Matching refs:action
9 -- op=add_option{"<opt>", action=<action>, dest=<dest>, help="<help message for this option>"}
13 -- <action> one of
60 local action = optdesc.action
62 if action == 'store' or action == nil then
66 elseif action == 'store_true' then
68 elseif action == 'store_false' then
91 local action = optdesc.action
94 if action == nil or action == 'store' then
115 o.add_option{"--help", action="store_true", dest="help",
118 o.add_option{"--version", action="store_true", dest="version",