14 lines
335 B
Lua
14 lines
335 B
Lua
|
|
return function(app,argv)
|
||
|
|
print("help!")
|
||
|
|
foreach( app.opts, function(k,v)
|
||
|
|
if not k:match("/") and not k:match("^help") then
|
||
|
|
print( app.bin .. " -- " .. k .. "=...\t # '" .. v .. "' e.g." )
|
||
|
|
end
|
||
|
|
end)
|
||
|
|
foreach( app.cmd, function(k,v)
|
||
|
|
print( app.bin .. " -- " .. k .. "\t\t # " .. v.info )
|
||
|
|
end)
|
||
|
|
|
||
|
|
os.exit()
|
||
|
|
end
|