Sort list of available settings for set/channelset/etc (set.py)

This commit is contained in:
jesopo 2019-01-03 22:02:51 +00:00
parent e15c7ece5b
commit 47b17def99

View file

@ -45,6 +45,7 @@ class Module(ModuleManager.BaseModule):
else:
shown_settings = [key for key, value in settings_dict.items()
if not value.get("hidden", False)]
shown_settings = sorted(shown_settings)
event["stdout"].write("Available settings: %s" % (
", ".join(shown_settings)))