diff options
author | Aaron Bentley <aaron.bentley@utoronto.ca> | 2006-04-01 14:55:34 -0500 |
---|---|---|
committer | Aaron Bentley <aaron.bentley@utoronto.ca> | 2006-04-01 14:55:34 -0500 |
commit | 4dda0decb88c6bc987d3d55a1ac757104e9d0ba9 (patch) | |
tree | 881d7aacf79d64a73efa4603cf1a26dbc05c3813 /be | |
parent | 28da7287b32e070034b8c093938effeedb2eb54e (diff) | |
download | bugseverywhere-4dda0decb88c6bc987d3d55a1ac757104e9d0ba9.tar.gz |
Refactored the command listing
Diffstat (limited to 'be')
-rwxr-xr-x | be | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -48,14 +48,7 @@ Unimplemented becommands if len(sys.argv) == 1 or sys.argv[1] in ('--help', '-h'): - cmdlist = [] - print """Bugs Everywhere - Distributed bug tracking - -Supported commands""" - for name, module in cmdutil.iter_commands(): - cmdlist.append((name, module.__doc__)) - for name, desc in cmdlist: - print "be %s\n %s" % (name, desc) + print_command_list() else: try: try: |