summaryrefslogtreecommitdiff
path: root/virt-xml
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2014-01-26 12:25:18 -0500
committerCole Robinson <crobinso@redhat.com>2014-01-26 13:09:26 -0500
commit2688ca64bb159c9ef7eb7c7069ddc7b664d672e5 (patch)
treee720d3ff5a5312e91afc18e79eabb9c5e8c733dc /virt-xml
parentb004d11eae372fcd968c8feca1040d8c2f1cf3f8 (diff)
downloadvirt-manager-2688ca64bb159c9ef7eb7c7069ddc7b664d672e5.tar.gz
virt-xml: Fill in man page
Diffstat (limited to 'virt-xml')
-rwxr-xr-xvirt-xml16
1 files changed, 9 insertions, 7 deletions
diff --git a/virt-xml b/virt-xml
index fed1046b..fdb01133 100755
--- a/virt-xml
+++ b/virt-xml
@@ -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)