mirror of
http://aero2k.de/t/repos/urlbot-native.git
synced 2017-09-06 15:25:38 +02:00
sort() help output
This commit is contained in:
@@ -127,9 +127,11 @@ def command_help(argv,**args):
|
||||
|
||||
if None == what:
|
||||
logger('plugin', 'empty help request, sent all commands')
|
||||
commands = args['cmd_list']
|
||||
commands.sort()
|
||||
return {
|
||||
'msg': args['reply_user'] + ': known commands: ' +
|
||||
str(args['cmd_list']).strip('[]')
|
||||
str(commands).strip('[]')
|
||||
}
|
||||
|
||||
if not what in [p.plugin_name for p in plugins[ptypes_COMMAND]]:
|
||||
|
||||
Reference in New Issue
Block a user