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 /becommands/list.py | |
parent | adb7e854b56aa7c3df6fae677fe383f417e364c4 (diff) | |
download | bugseverywhere-8e989347bdefab6a77e32072265fa0bd8c143c43.tar.gz |
Merged --commands and --options into --complete. Simpler that way.
Diffstat (limited to 'becommands/list.py')
-rw-r--r-- | becommands/list.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/becommands/list.py b/becommands/list.py index 7c51f11..25e72d3 100644 --- a/becommands/list.py +++ b/becommands/list.py @@ -37,11 +37,11 @@ def execute(args, test=False): for option in [o.dest for o in parser.option_list if o.dest != None]: value = getattr(options, option) - if value == "--options": + if value == "--complete": if option == "status": raise cmdutil.GetCompletions(status_values) raise cmdutil.GetCompletions() - if "--options" in args: + if "--complete" in args: raise cmdutil.GetCompletions() # no completions for arguments yet if len(args) > 0: |