summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Baumann <derflob@derflob.de>2016-07-16 23:33:07 +1200
committerFlorian Baumann <derflob@derflob.de>2016-07-16 23:33:07 +1200
commit2ac9b6d028db22d68110856a4d202487160b0ca1 (patch)
tree673626d3ae95978864b68b078ddcc209232ae82a
parente4e63630b707f90946b07d324fbb311cf2cdb830 (diff)
downloadxmpp-cmd_help.tar.gz
xmpp-cmd_help.tar.bz2
show usage instead of desccmd_help
-rw-r--r--__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/__init__.py b/__init__.py
index 408764a..31fb850 100644
--- a/__init__.py
+++ b/__init__.py
@@ -365,7 +365,7 @@ class OctoXMPP(EventHandlerPlugin, SettingsPlugin):
else:
fn = getattr(self, "_cmd_{}".format(cmd[0]), None)
if (fn and hasattr(fn, 'xmpp_cmd')):
- lines.append("{} - {}".format(fn.xmpp_cmd, fn.desc))
+ lines.append("{} - {}".format(fn.xmpp_cmd, fn.usage))
if (fn.desc):
lines.append("* {}".format(fn.desc))
else: