From 90fc3d78e0f293082225f12cfce42a62b1b67fcb Mon Sep 17 00:00:00 2001 From: Goffi Date: Mon, 24 Mar 2014 15:18:53 +0100 Subject: [PATCH] plugin text commands: commands are now sorted in /help --- src/plugins/plugin_misc_text_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/plugin_misc_text_commands.py b/src/plugins/plugin_misc_text_commands.py index d02eb78b..273bd268 100755 --- a/src/plugins/plugin_misc_text_commands.py +++ b/src/plugins/plugin_misc_text_commands.py @@ -205,7 +205,7 @@ class TextCommands(object): longuest = max([len(command) for command in commands]) help_cmds = [] - for command in self._commands: + for command in sorted(self._commands): method = self._commands[command] try: help_str = method.__doc__.split('\n')[0]