aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/help.py
diff options
context:
space:
mode:
authorAaron Bentley <aaron.bentley@utoronto.ca>2006-04-01 14:55:34 -0500
committerAaron Bentley <aaron.bentley@utoronto.ca>2006-04-01 14:55:34 -0500
commit4dda0decb88c6bc987d3d55a1ac757104e9d0ba9 (patch)
tree881d7aacf79d64a73efa4603cf1a26dbc05c3813 /becommands/help.py
parent28da7287b32e070034b8c093938effeedb2eb54e (diff)
downloadbugseverywhere-4dda0decb88c6bc987d3d55a1ac757104e9d0ba9.tar.gz
Refactored the command listing
Diffstat (limited to 'becommands/help.py')
-rw-r--r--becommands/help.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/becommands/help.py b/becommands/help.py
index fc89207..cae8949 100644
--- a/becommands/help.py
+++ b/becommands/help.py
@@ -24,8 +24,7 @@ def execute(args):
if len(args) > 1:
raise cmdutil.UserError("Too many arguments.")
if len(args) == 0:
- for name, module in cmdutil.iter_commands():
- print "be %s\n %s" % (name, module.__doc__)
+ print_command_list()
else:
print cmdutil.help(args[0])
return