diff options
Diffstat (limited to 'becommands/merge.py')
-rw-r--r-- | becommands/merge.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/becommands/merge.py b/becommands/merge.py index 583bd28..9f324f7 100644 --- a/becommands/merge.py +++ b/becommands/merge.py @@ -122,7 +122,10 @@ 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, + 1: lambda bug : bug.active==True}) + if len(args) < 2: raise cmdutil.UsageError("Please specify two bug ids.") if len(args) > 2: |