DKL9 GitList
Repositories
DKL9 home
memoire
Code
Commits
Branches
Tags
Search
Tree:
3949c09
Branches
Tags
master
memoire
src
help.lua
Move Lua source code into src/ directory
John Smith
commited
3949c09
at 2023-133 18:56:28
help.lua
Blame
History
Raw
local function fn() io.write(string.format("Usage: %s ACTION\n\nACTION may be one of\n", arg[0])) local sal = {} for _, v in pairs(ACTIONS) do table.insert(sal, v.desc) end table.sort(sal) for _, v in ipairs(sal) do io.write(string.format("\t%s\n", v)) end end return { desc = "(h)elp", nd = false, fn = fn }