[libvirt] [PATCH] Align vol-resize arguments with the output of help

Martin Kletzander mkletzan at redhat.com
Wed Apr 12 07:09:08 UTC 2017


On Wed, Apr 12, 2017 at 08:59:36AM +0200, Martin Kletzander wrote:
>Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
>---
> tools/virsh.pod | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>

I forgot to prefix the subject with 'man:', I already fixed it locally, though.

>diff --git a/tools/virsh.pod b/tools/virsh.pod
>index d1030808a3ed..34679e363a8e 100644
>--- a/tools/virsh.pod
>+++ b/tools/virsh.pod
>@@ -4025,12 +4025,12 @@ I<--pool> I<pool-or-uuid> is the name or UUID of the storage pool the volume
> is in. I<vol-name-or-path> is the name or path of the volume to return the
> volume key for.
>
>-=item B<vol-resize> [I<--pool> I<pool-or-uuid>] I<vol-name-or-path>
>-I<pool-or-uuid> I<capacity> [I<--allocate>] [I<--delta>] [I<--shrink>]
>+=item B<vol-resize> I<vol-name-or-path> I<capacity> [I<--pool> I<pool-or-uuid>]
>+[I<--allocate>] [I<--delta>] [I<--shrink>]
>
> Resize the capacity of the given volume, in bytes.
> I<--pool> I<pool-or-uuid> is the name or UUID of the storage pool the volume
>-is in. I<vol-name-or-key-or-path> is the name or key or path of the volume
>+is in. I<vol-name-or-path> is the name or key or path of the volume
> to resize.  The new capacity might be sparse unless I<--allocate> is
> specified.  Normally, I<capacity> is the new size, but if I<--delta>
> is present, then it is added to the existing size.  Attempts to shrink
>--
>2.12.2
>
>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170412/bef0987c/attachment-0001.sig>


More information about the libvir-list mailing list