projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70ba753
)
command:help: match against command names (not module names).
author
W. Trevor King
<wking@tremily.us>
Mon, 3 Sep 2012 19:15:03 +0000
(15:15 -0400)
committer
W. Trevor King
<wking@tremily.us>
Mon, 3 Sep 2012 19:15:03 +0000
(15:15 -0400)
libbe/command/help.py
patch
|
blob
|
history
diff --git
a/libbe/command/help.py
b/libbe/command/help.py
index 3b6bb2e814117f230e4174e85c1e16d7ee64f0eb..869a35a50115494416ddb813c832ac781e5ba6c9 100644
(file)
--- 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)