diff options
author | W. Trevor King <wking@drexel.edu> | 2008-11-27 09:34:54 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2008-11-27 09:34:54 -0500 |
commit | 8e989347bdefab6a77e32072265fa0bd8c143c43 (patch) | |
tree | fc1d47e6b7bfef9c7d8e3517d8e9fbf7026ed8c6 /be | |
parent | adb7e854b56aa7c3df6fae677fe383f417e364c4 (diff) | |
download | bugseverywhere-8e989347bdefab6a77e32072265fa0bd8c143c43.tar.gz |
Merged --commands and --options into --complete. Simpler that way.
Diffstat (limited to 'be')
-rwxr-xr-x | be | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -24,11 +24,10 @@ __doc__ == cmdutil.help() if len(sys.argv) == 1 or sys.argv[1] in ('--help', '-h'): print cmdutil.help() -elif sys.argv[1] == '--commands': +elif sys.argv[1] == '--complete': for command, module in cmdutil.iter_commands(): print command -elif sys.argv[1] == '--options': - print '\n'.join(cmdutil.options()) + print '\n'.join(["--help","--complete","--options"]) else: try: try: |