diff options
author | Cole Robinson <crobinso@redhat.com> | 2019-01-08 12:44:53 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2019-01-08 12:44:53 -0500 |
commit | 6c28f535901377fd8ddb88f12cafa0e40f21a757 (patch) | |
tree | 8a51993c38ba22523295f49d23bbf3a6df7d755c /virt-xml | |
parent | 2a88d3a1af716c136421efc7e01034b4d46f9dc1 (diff) | |
download | virt-manager-6c28f535901377fd8ddb88f12cafa0e40f21a757.tar.gz |
cli; Share --os-variant option registering
And improve the help message for both users
Diffstat (limited to 'virt-xml')
-rwxr-xr-x | virt-xml | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -373,10 +373,7 @@ def parse_args(): outg.add_argument("--confirm", action="store_true", help=_("Require confirmation before saving any results.")) - osg = parser.add_argument_group(_("OS options")) - osg.add_argument("--os-variant", dest="distro_variant", - help=_("The OS variant installed in the guest, " - "e.g. 'fedora29', 'rhel7', 'win10 etc.")) + cli.add_os_variant_option(parser, virtinstall=False) g = parser.add_argument_group(_("XML options")) cli.add_disk_option(g, editexample=True) |