diff options
Diffstat (limited to 'becommands/open.py')
-rw-r--r-- | becommands/open.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/becommands/open.py b/becommands/open.py index 41db5e9..7a18fd0 100644 --- a/becommands/open.py +++ b/becommands/open.py @@ -32,7 +32,8 @@ def execute(args, test=False): """ parser = get_parser() options, args = parser.parse_args(args) - cmdutil.default_complete(options, args, parser) + cmdutil.default_complete(options, args, parser, + bugid_args={0: lambda bug : bug.active==False}) if len(args) == 0: raise cmdutil.UsageError, "Please specify a bug id." if len(args) > 1: |