From 6bc5f4077e6777d5ac653e12f786879b70c079a5 Mon Sep 17 00:00:00 2001 From: Nathan Schneider <n@nathanschneider.info> Date: Thu, 15 Apr 2021 23:50:13 -0600 Subject: [PATCH] Fixes to basic CLI dashboard --- modpol/interactions/interactions.lua | 4 ++-- modpol/orgs/orgs.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modpol/interactions/interactions.lua b/modpol/interactions/interactions.lua index e4aeb6e..9a4e407 100644 --- a/modpol/interactions/interactions.lua +++ b/modpol/interactions/interactions.lua @@ -14,9 +14,9 @@ modpol.dashboard = function(user) -- Org status output = output .. "Orgs:\n" .. modpol.orgs.list_all() -- Process status (ongoing processes) - output = output .. "Processes:\n" .. table.concat(modpol.processes) + output = output .. "\nProcesses:\n" .. table.concat(modpol.processes) -- Command list (should be redone to be org-specific) - output = output .. "Command list:\n" + output = output .. "\nCommand list:\n" for key,value in pairs(modpol) do output = output .. "modpol." .. key .. " " end diff --git a/modpol/orgs/orgs.lua b/modpol/orgs/orgs.lua index f00ffe7..53c0100 100644 --- a/modpol/orgs/orgs.lua +++ b/modpol/orgs/orgs.lua @@ -4,7 +4,7 @@ modpol.orgs = array = {} } --- sets modpol.orgs as it's own fallback +-- sets modpol.orgs as its own fallback modpol.orgs.__index = modpol.orgs -- ==================================================