diff options
Diffstat (limited to 'becommands/assign.py')
-rw-r--r-- | becommands/assign.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/becommands/assign.py b/becommands/assign.py index b00c5c2..9869350 100644 --- a/becommands/assign.py +++ b/becommands/assign.py @@ -41,7 +41,9 @@ def execute(args, test=False): >>> bd.bug_from_shortname("a").assigned is None True """ - options, args = get_parser().parse_args(args) + parser = get_parser() + options, args = parser.parse_args(args) + cmdutil.default_complete(options, args, parser) assert(len(args) in (0, 1, 2)) if len(args) == 0: raise cmdutil.UsageError("Please specify a bug id.") |