From 9bf572f523430225e268095b9c653dee9c37c803 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 3 Sep 2012 15:15:03 -0400 Subject: [PATCH] command:help: match against command names (not module names). --- libbe/command/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbe/command/help.py b/libbe/command/help.py index 3b6bb2e..869a35a 100644 --- a/libbe/command/help.py +++ b/libbe/command/help.py @@ -62,7 +62,7 @@ class Help (libbe.command.Command): if params['topic'] == None: if hasattr(self.ui, 'help'): print >> self.stdout, self.ui.help().rstrip('\n') - elif params['topic'] in libbe.command.commands(): + elif params['topic'] in libbe.command.commands(command_names=True): module = libbe.command.get_command(params['topic']) Class = libbe.command.get_command_class(module,params['topic']) c = Class(ui=self.ui) -- 2.26.2