[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] virsh: tweak help output for VSH_OT_DATA

On 06/29/2010 04:21 PM, Eric Blake wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=609044 complained
> that 'virsh help pool-create-as' didn't document the shortcut
> that you can do 'virsh pool-create-as $name $type --target $target'
> rather than having to supply the four optional source- arguments
> in order to fill out the necessary positional arguments.
> This one-liner changes the help output to hopefully make this more obvious:
>   NAME
>     pool-create-as - create a pool from a set of args
>     pool-create-as <name> [--print-xml] <type> [<source-host>] [<source-path>] [<source-dev>] [<source-name>] [<target>] [--source-format <string>]

>     [--target] <string>  target for underlying storage
>     --source-format <string>  format for underlying storage

If it helps in your review, note that for pool-create-as, <target> is
VSH_OT_DATA while <source-format> is VSH_OT_STRING.

Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]