diff options
Diffstat (limited to 'becommands/target.py')
-rw-r--r-- | becommands/target.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/becommands/target.py b/becommands/target.py index 4371ef0..497ebf0 100644 --- a/becommands/target.py +++ b/becommands/target.py @@ -32,7 +32,9 @@ def execute(args, test=False): >>> execute(["a"], test=True) No target assigned. """ - options, args = get_parser().parse_args(args) + parser = get_parser() + options, args = parser.parse_args(args) + cmdutil.default_complete(options, args, parser) if len(args) not in (1, 2): raise cmdutil.UsageError bd = bugdir.BugDir(from_disk=True, manipulate_encodings=not test) |