projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50bf1e9
)
prosodyctl check: Include global options when checking "all options"
author
Kim Alvefur
<zash@zash.se>
Thu, 3 Dec 2015 14:51:22 +0000
(15:51 +0100)
committer
Kim Alvefur
<zash@zash.se>
Thu, 3 Dec 2015 14:51:22 +0000
(15:51 +0100)
prosodyctl
patch
|
blob
|
history
diff --git
a/prosodyctl
b/prosodyctl
index 76c05fa61af817f5b76d7b023b82e77ecf194aab..25bfd55b5c78b2cb24e5473cfde5a7ac02764a45 100755
(executable)
--- a/
prosodyctl
+++ b/
prosodyctl
@@
-913,7
+913,7
@@
function commands.check(arg)
print(" For more information see: http://prosody.im/doc/dns");
end
end
- local all_options = set.new();
+ local all_options = set.new(
it.to_array(it.keys(config["*"]))
);
for host in enabled_hosts() do
all_options:include(set.new(it.to_array(it.keys(config[host]))));
end