From 30f9f2b0559bdb045e003bfa7c0c53a3fa9f4c07 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Thu, 10 Feb 2011 16:15:33 +0100 Subject: Fix the /help command with commands of the current tab --- src/core.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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) -- cgit v1.2.3