summaryrefslogtreecommitdiff
path: root/src/core/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-04-11 00:55:42 +0200
committermathieui <mathieui@mathieui.net>2014-04-11 00:55:42 +0200
commit0847643b548d1f5014c1af56a86c0e6c2d7ce92f (patch)
treefc6d4e22462bc70bd04680e8409369529b98a28e /src/core/core.py
parentd18fe6c477332afd2a81a4723c2951c8328d0cf1 (diff)
downloadpoezio-0847643b548d1f5014c1af56a86c0e6c2d7ce92f.tar.gz
poezio-0847643b548d1f5014c1af56a86c0e6c2d7ce92f.tar.bz2
poezio-0847643b548d1f5014c1af56a86c0e6c2d7ce92f.tar.xz
poezio-0847643b548d1f5014c1af56a86c0e6c2d7ce92f.zip
Fix #2421 (load and unload several plugins)
Diffstat (limited to 'src/core/core.py')
-rw-r--r--src/core/core.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/core.py b/src/core/core.py
index c3090bf6..39eb31b7 100644
--- a/src/core/core.py
+++ b/src/core/core.py
@@ -1542,19 +1542,19 @@ class Core(object):
shortdesc=_('Cycle a range of rooms'),
completion=self.completion_server_cycle)
self.register_command('bind', self.command_bind,
- usage=_(' <key> <equ>'),
+ usage=_('<key> <equ>'),
desc=_("Bind a key to another key or to a “command”. For "
"example \"/bind ^H KEY_UP\" makes Control + h do the"
" same same as the Up key."),
completion=self.completion_bind,
shortdesc=_('Bind a key to another key.'))
self.register_command('load', self.command_load,
- usage=_('<plugin>'),
- shortdesc=_('Load the specified plugin'),
+ usage=_('<plugin> [<otherplugin> …]'),
+ shortdesc=_('Load the specified plugin(s)'),
completion=self.plugin_manager.completion_load)
self.register_command('unload', self.command_unload,
- usage=_('<plugin>'),
- shortdesc=_('Unload the specified plugin'),
+ usage=_('<plugin> [<otherplugin> …]'),
+ shortdesc=_('Unload the specified plugin(s)'),
completion=self.plugin_manager.completion_unload)
self.register_command('plugins', self.command_plugins,
shortdesc=_('Show the plugins in use.'))