update readme

M  README.md
M  util/standartbefehlssatz_doc.lua
This commit is contained in:
Hybrid Dog
2016-12-31 17:25:01 +01:00
parent 1c9ed9a133
commit fd15773adb
2 changed files with 84 additions and 29 deletions

View File

@ -41,13 +41,14 @@ local instr = {
{"flush", "", "Output the log, this should vary for every mod."},
}
--[[
local mbl = 0
local mal = 0
for i = 1,#instr do
local bef = instr[i]
mbl = math.max(#bef[1], mbl)
mal = math.max(#bef[2], mal)
end
end--]]
local mtl = 2
@ -60,7 +61,8 @@ end
o = o .. "\n\nInstructions:\n\n"
for i = 1,#instr do
i = instr[i]
o = o .. i[1] .. (" "):rep(mbl - #i[1] + 2) .. i[2] .. (" "):rep(mal - #i[2] + 2) .. i[3] .. "\n"
o = o .. i[1] .. " " .. i[2] .. "\n"
.. " " .. i[3] .. "\n\n"
end
print(o)