if len(sys.argv) == 1 or sys.argv[1] in ('--help', '-h'):
- print_command_list()
+ cmdutil.print_command_list()
else:
try:
try:
# 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.
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])