aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/close.py
diff options
context:
space:
mode:
Diffstat (limited to 'becommands/close.py')
-rw-r--r--becommands/close.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/becommands/close.py b/becommands/close.py
index 37fa032..d8826b0 100644
--- a/becommands/close.py
+++ b/becommands/close.py
@@ -33,7 +33,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("Please specify a bug id.")
if len(args) > 1: