Fix help printing (Lee Braiden)
authorAaron Bentley <abentley@panoramicfeedback.com>
Mon, 17 Apr 2006 21:00:26 +0000 (17:00 -0400)
committerAaron Bentley <abentley@panoramicfeedback.com>
Mon, 17 Apr 2006 21:00:26 +0000 (17:00 -0400)
be
becommands/help.py

diff --git a/be b/be
index 8ad6a9815abd2c30987345a76aa94237f3ed3b60..6d1e96c68339ac32274d079ea9355835bcbfcdfe 100755 (executable)
--- a/be
+++ b/be
@@ -48,7 +48,7 @@ Unimplemented becommands
 
 
 if len(sys.argv) == 1 or sys.argv[1] in ('--help', '-h'):
-    print_command_list()
+    cmdutil.print_command_list()
 else:
     try:
         try:
index 1402a2a901a0ee04670509d28f6afd8a44733ab7..aa4aa64d027acf68ece0440f54de2434a1d5b9be 100644 (file)
@@ -16,6 +16,7 @@
 #    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 """Print help for given subcommand"""
 from libbe import bugdir, cmdutil, names, utility
+
 def execute(args):
     """
     Print help of specified command.
@@ -24,7 +25,7 @@ def execute(args):
     if len(args) > 1:
         raise cmdutil.UserError("Too many arguments.")
     if len(args) == 0:
-        print_command_list()
+        cmdutil.print_command_list()
     else:
         try:
             print cmdutil.help(args[0])