From 4dda0decb88c6bc987d3d55a1ac757104e9d0ba9 Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Sat, 1 Apr 2006 14:55:34 -0500 Subject: Refactored the command listing --- becommands/help.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'becommands') 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 -- cgit