mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-26 10:03:54 +03:00
virt-install: Add auto complete support for the general options
With this patchset, the general options completion is available. ex: $ virt-install -<TAB><TAB> ... --arch --check --cpu --dry-run -h --autostart --clock --cputune --events --help ... $ virt-install --a<TAB><TAB> --arch --autostart Signed-off-by: Lin Ma <lma@suse.com>
This commit is contained in:
parent
d68f0f8867
commit
f6076a0eb0
@ -864,6 +864,8 @@ def parse_args():
|
||||
cli.add_misc_options(misc, prompt=True, printxml=True, printstep=True,
|
||||
noreboot=True, dryrun=True, noautoconsole=True)
|
||||
|
||||
cli.autocomplete(parser)
|
||||
|
||||
return parser.parse_args()
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user