Sort list of available settings for set/channelset/etc (set.py)
This commit is contained in:
parent
e15c7ece5b
commit
47b17def99
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
else:
|
else:
|
||||||
shown_settings = [key for key, value in settings_dict.items()
|
shown_settings = [key for key, value in settings_dict.items()
|
||||||
if not value.get("hidden", False)]
|
if not value.get("hidden", False)]
|
||||||
|
shown_settings = sorted(shown_settings)
|
||||||
event["stdout"].write("Available settings: %s" % (
|
event["stdout"].write("Available settings: %s" % (
|
||||||
", ".join(shown_settings)))
|
", ".join(shown_settings)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue