diff options
author | Cole Robinson <crobinso@redhat.com> | 2014-01-26 12:25:18 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2014-01-26 13:09:26 -0500 |
commit | 2688ca64bb159c9ef7eb7c7069ddc7b664d672e5 (patch) | |
tree | e720d3ff5a5312e91afc18e79eabb9c5e8c733dc /virt-xml | |
parent | b004d11eae372fcd968c8feca1040d8c2f1cf3f8 (diff) | |
download | virt-manager-2688ca64bb159c9ef7eb7c7069ddc7b664d672e5.tar.gz |
virt-xml: Fill in man page
Diffstat (limited to 'virt-xml')
-rwxr-xr-x | virt-xml | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -303,7 +303,7 @@ def parse_args(): parser.add_argument("domain", nargs='?', help=_("Domain name, id, or uuid")) - actg = parser.add_argument_group(_("Action Options")) + actg = parser.add_argument_group(_("XML actions")) actg.add_argument("--edit", nargs='?', default=-1, help=_("Edit VM XML. Examples:\n" "--edit --disk ... (edit first disk device)\n" @@ -320,23 +320,25 @@ def parse_args(): "--add-device --disk ...")) actg.add_argument("--build-xml", action="store_true", help=_("Just output the built device XML, no domain required.")) - actg.add_argument("--update", action="store_true", + + outg = parser.add_argument_group(_("Output options")) + outg.add_argument("--update", action="store_true", help=_("Apply changes to the running VM.\n" "With --add-device, this is a hotplug operation.\n" "With --remove-device, this is a hotunplug operation.\n" "With --edit, this is an update device operation.")) - actg.add_argument("--define", action="store_true", + outg.add_argument("--define", action="store_true", help=_("Force defining the domain. Only required if a --print " "option was specified.")) - actg.add_argument("--print-diff", action="store_true", + outg.add_argument("--print-diff", action="store_true", help=_("Only print the requested change, in diff format")) - actg.add_argument("--print-xml", action="store_true", + outg.add_argument("--print-xml", action="store_true", help=_("Only print the requested change, in full XML format")) - actg.add_argument("--confirm", action="store_true", + outg.add_argument("--confirm", action="store_true", help=_("Require confirmation before saving any results.")) g = parser.add_argument_group(_("XML options")) - cli.add_disk_option(g) + cli.add_disk_option(g, editexample=True) cli.add_net_option(g) cli.add_gfx_option(g) cli.add_metadata_option(g) |