stand/lua: Add debug method to dump modules
This commit is contained in:
parent
0afa86db89
commit
578ddeafba
@ -37,6 +37,14 @@ function config.setKey(k, n, v)
|
||||
modules[k][n] = v;
|
||||
end
|
||||
|
||||
function config.dumpModules()
|
||||
print("== Dumping modules")
|
||||
for k, v in pairs(modules) do
|
||||
print(k, v.load);
|
||||
end
|
||||
print("== Dump ended")
|
||||
end
|
||||
|
||||
local pattern_table = {
|
||||
[1] = {
|
||||
str = "^%s*(#.*)",
|
||||
|
Loading…
x
Reference in New Issue
Block a user