aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2012-09-03 15:15:03 -0400
committerW. Trevor King <wking@tremily.us>2012-09-03 15:15:03 -0400
commit9bf572f523430225e268095b9c653dee9c37c803 (patch)
tree5c559d01f76046b0961385108a885b34768d0c55 /libbe/command
parent70ba753eebdb6b36db9b6c95555a3bcac2139508 (diff)
downloadbugseverywhere-9bf572f523430225e268095b9c653dee9c37c803.tar.gz
command:help: match against command names (not module names).
Diffstat (limited to 'libbe/command')
-rw-r--r--libbe/command/help.py2
1 files changed, 1 insertions, 1 deletions
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)