aboutsummaryrefslogtreecommitdiffstats
path: root/util/prosodyctl
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-03-28 11:42:16 +0100
committerMatthew Wild <mwild1@gmail.com>2022-03-28 11:42:16 +0100
commit6a923e65c9a4f1129a448e7c41335d20e375be34 (patch)
tree9821b4a3652e9dd4a03f1f5397607900a55d8b55 /util/prosodyctl
parent9d8fc066bdfcf38eb9f77b1c05a43bde3048e1ab (diff)
parentfdd5f22b8ac4960bed70380c018ed08f6702a71e (diff)
downloadprosody-6a923e65c9a4f1129a448e7c41335d20e375be34.tar.gz
prosody-6a923e65c9a4f1129a448e7c41335d20e375be34.zip
Merge 0.12->trunk
Diffstat (limited to 'util/prosodyctl')
-rw-r--r--util/prosodyctl/check.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua
index e6b815f2..4b09ad8d 100644
--- a/util/prosodyctl/check.lua
+++ b/util/prosodyctl/check.lua
@@ -332,6 +332,13 @@ local function check(arg)
end
if not what or what == "config" then
print("Checking config...");
+
+ if what == "config" then
+ local files = configmanager.files();
+ print(" The following configuration files have been loaded:");
+ print(" - "..table.concat(files, "\n - "));
+ end
+
local obsolete = set.new({ --> remove
"archive_cleanup_interval",
"cross_domain_bosh",