diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-02-10 16:15:33 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-02-10 16:15:33 +0100 |
commit | 30f9f2b0559bdb045e003bfa7c0c53a3fa9f4c07 (patch) | |
tree | 5ce77b83f3a68a1479750de0f0e34f5c4e0dbd3b /src | |
parent | ffcf65ec4323613deff7c6fa7f92843d58879e41 (diff) | |
download | poezio-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.py | 2 |
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) |