changeset 929:059b56cbd247

plugin text commands: commands are now sorted in /help
author Goffi <goffi@goffi.org>
date Mon, 24 Mar 2014 15:18:53 +0100
parents 73873e9b56f7
children cbf4122baae7
files src/plugins/plugin_misc_text_commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_misc_text_commands.py	Mon Mar 24 14:46:18 2014 +0100
+++ b/src/plugins/plugin_misc_text_commands.py	Mon Mar 24 15:18:53 2014 +0100
@@ -205,7 +205,7 @@
         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]