summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-02-24 18:30:16 +0100
committermathieui <mathieui@mathieui.net>2017-02-24 18:30:16 +0100
commit38ba85985441f9a1ddb3ed6b2e9749f1ff92080d (patch)
tree70beb625901e94afbf6091727b4fa7fa8f40f6ec /plugins
parent23927711c1579c17f885a7a40a0ba595e08930a4 (diff)
downloadpoezio-38ba85985441f9a1ddb3ed6b2e9749f1ff92080d.tar.gz
poezio-38ba85985441f9a1ddb3ed6b2e9749f1ff92080d.tar.bz2
poezio-38ba85985441f9a1ddb3ed6b2e9749f1ff92080d.tar.xz
poezio-38ba85985441f9a1ddb3ed6b2e9749f1ff92080d.zip
Fix code plugin usage help
Diffstat (limited to 'plugins')
-rw-r--r--plugins/code.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/code.py b/plugins/code.py
index 44afd3d8..028f0f70 100644
--- a/plugins/code.py
+++ b/plugins/code.py
@@ -33,7 +33,7 @@ FORMATTER = HtmlFormatter(noclasses=True)
class Plugin(BasePlugin):
def init(self):
self.api.add_command('code', self.command_code,
- usage='<message>',
+ usage='<language> <code>',
short='Sends syntax-highlighted code',
help='Sends syntax-highlighted code in the current tab')