aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Bentley <abentley@panoramicfeedback.com>2006-04-17 17:00:26 -0400
committerAaron Bentley <abentley@panoramicfeedback.com>2006-04-17 17:00:26 -0400
commitc3d70d6f4b36b7b13ee3d9d4dba6b1f23ad60a52 (patch)
tree7d784942ed4784c6c2a84d8cfa209ae9f122afed
parent5035fa5e4cc0d0236017bc0de1d07f346e767184 (diff)
downloadbugseverywhere-c3d70d6f4b36b7b13ee3d9d4dba6b1f23ad60a52.tar.gz
Fix help printing (Lee Braiden)
-rwxr-xr-xbe2
-rw-r--r--becommands/help.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/be b/be
index 8ad6a98..6d1e96c 100755
--- 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:
diff --git a/becommands/help.py b/becommands/help.py
index 1402a2a..aa4aa64 100644
--- a/becommands/help.py
+++ b/becommands/help.py
@@ -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])