Fix code plugin usage help

This commit is contained in:
mathieui 2017-02-24 18:30:16 +01:00
parent 23927711c1
commit 38ba859854

View file

@ -33,7 +33,7 @@ FORMATTER = HtmlFormatter(noclasses=True)
class Plugin(BasePlugin): class Plugin(BasePlugin):
def init(self): def init(self):
self.api.add_command('code', self.command_code, self.api.add_command('code', self.command_code,
usage='<message>', usage='<language> <code>',
short='Sends syntax-highlighted code', short='Sends syntax-highlighted code',
help='Sends syntax-highlighted code in the current tab') help='Sends syntax-highlighted code in the current tab')