[virt-tools-list] [virt-manager] [PATCH 2/2] cli: Register parser for ParseCLICheck

Lin Ma lma at suse.com
Mon Dec 24 08:35:01 UTC 2018


The completion of --check subprops needs it work.

Signed-off-by: Lin Ma <lma at suse.com>
---
 virtinst/cli.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/virtinst/cli.py b/virtinst/cli.py
index 3ba81861..2996dbc3 100644
--- a/virtinst/cli.py
+++ b/virtinst/cli.py
@@ -1321,6 +1321,7 @@ class ParseCLICheck(VirtCLIParser):
         inst.set_validation_check(virtarg.cliname, val)
 
 
+_register_virt_parser(ParseCLICheck)
 ParseCLICheck.add_arg(None, "path_in_use", is_onoff=True,
                       cb=ParseCLICheck.set_cb)
 ParseCLICheck.add_arg(None, "disk_size", is_onoff=True,
-- 
2.19.0




More information about the virt-tools-list mailing list