# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1449154282 -3600
# Node ID e442016918a939539de1a61329de141c8f228f1c
# Parent  99de8f30d99e2b4bab8032648878785fffb73042
prosodyctl check: Include global options when checking "all options"

diff -r 99de8f30d99e -r e442016918a9 prosodyctl
--- a/prosodyctl	Thu Dec 03 14:57:49 2015 +0000
+++ b/prosodyctl	Thu Dec 03 15:51:22 2015 +0100
@@ -913,7 +913,7 @@
 			   	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