summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-02-10 16:15:33 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-02-10 16:15:33 +0100
commit30f9f2b0559bdb045e003bfa7c0c53a3fa9f4c07 (patch)
tree5ce77b83f3a68a1479750de0f0e34f5c4e0dbd3b /src
parentffcf65ec4323613deff7c6fa7f92843d58879e41 (diff)
downloadpoezio-30f9f2b0559bdb045e003bfa7c0c53a3fa9f4c07.tar.gz
poezio-30f9f2b0559bdb045e003bfa7c0c53a3fa9f4c07.tar.bz2
poezio-30f9f2b0559bdb045e003bfa7c0c53a3fa9f4c07.tar.xz
poezio-30f9f2b0559bdb045e003bfa7c0c53a3fa9f4c07.zip
Fix the /help command with commands of the current tab
Diffstat (limited to 'src')
-rw-r--r--src/core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index 91b427a7..b3119499 100644
--- a/src/core.py
+++ b/src/core.py
@@ -999,6 +999,8 @@ class Core(object):
if len(args) >= 1:
if args[0] in list(self.commands.keys()):
msg = self.commands[args[0]][1]
+ elif args[0] in list(self.current_tab().commands.keys()):
+ msg = self.current_tab().commands[args[0]][1]
else:
msg = _('Unknown command: %s') % args[0]
self.information(msg)