diff options
Diffstat (limited to 'becommands/show.py')
-rw-r--r-- | becommands/show.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/becommands/show.py b/becommands/show.py index 3c00712..37168c1 100644 --- a/becommands/show.py +++ b/becommands/show.py @@ -37,7 +37,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==True}) if len(args) == 0: raise cmdutil.UsageError bd = bugdir.BugDir(from_disk=True, manipulate_encodings=not test) |