Lines Matching refs:then
12 -- <opt> the option string to be used (can be anything, if one letter opt, then should be -x val, more letters: -xy=val )
48 if flag then
59 if optdesc then
62 if action == 'store' or action == nil then
65 if not val then o.fail('option requires an argument ' .. v) end
66 elseif action == 'store_true' then
68 elseif action == 'store_false' then
73 if v:match('^%-') then o.fail('invalid option ' .. v) end
78 if options.help then
82 if options.version then
94 if action == nil or action == 'store' then
117 if t.version then