From e3836b349cdd08c4e69258a7909fea9797960e61 Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Mon, 12 Mar 2018 15:45:28 -0400 Subject: [PATCH] virsh: Fix man page argument ordering for vol-dumpxml command The proper command order is 'virsh vol-dumpxml volume pool'. While making the modification clean up the description a bit too in order to help clarify under what circumstances the volume could be found if the pool name was not provided. Signed-off-by: John Ferlan --- tools/virsh.pod | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index 0a6d4e5519..6063c1b6bf 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -4179,12 +4179,17 @@ it expects the storage driver to be able to discard all bytes in a volume. It is up to the storage driver to handle how the discarding occurs. Not all storage drivers or volume types can support 'trim'. -=item B [I<--pool> I] I +=item B I [I<--pool> I] Output the volume information as an XML dump to stdout. + +I is the name or key or path of the volume +to output the XML. + I<--pool> I is the name or UUID of the storage pool the volume -is in. I is the name or key or path of the volume -to output the XML of. +is in. If the volume name is provided instead of the key or path, then +providing the pool is necessary to find the volume to be uploaded into; +otherwise, the first volume found by the key or path will be used. =item B [I<--pool> I] I [I<--bytes>] [I<--physical>]