diff options
author | W. Trevor King <wking@tremily.us> | 2012-09-03 15:15:03 -0400 |
---|---|---|
committer | W. Trevor King <wking@tremily.us> | 2012-09-03 15:15:03 -0400 |
commit | 9bf572f523430225e268095b9c653dee9c37c803 (patch) | |
tree | 5c559d01f76046b0961385108a885b34768d0c55 /libbe/command/help.py | |
parent | 70ba753eebdb6b36db9b6c95555a3bcac2139508 (diff) | |
download | bugseverywhere-9bf572f523430225e268095b9c653dee9c37c803.tar.gz |
command:help: match against command names (not module names).
Diffstat (limited to 'libbe/command/help.py')
-rw-r--r-- | libbe/command/help.py | 2 |
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) |