virt-convert: Add auto complete support for the general options

Signed-off-by: Lin Ma <lma@suse.com>
This commit is contained in:
Lin Ma 2018-12-07 16:28:52 +08:00 committed by Cole Robinson
parent 4b09a26578
commit e7e6f873cc
1 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,8 @@ def parse_args():
misc = parser.add_argument_group("Miscellaneous Options")
cli.add_misc_options(misc, dryrun=True, printxml=True, noautoconsole=True)
cli.autocomplete(parser)
options = parser.parse_args()
options.input = options.input[0]