[libvirt] [PATCHv2] virsh: tweak help output for VSH_OT_DATA

Eric Blake eblake at redhat.com
Wed Jun 30 13:32:31 UTC 2010


On 06/29/2010 05:48 PM, Laine Stump wrote:
>  On 06/29/2010 07:09 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.
>>
>> -                    snprintf(buf, sizeof(buf), "<%s>", opt->name);
>> +                    snprintf(buf, sizeof(buf), _("[--%s]<string>"),
>> +                             opt->name);
>>
>>                   fprintf(stdout, "    %-15s  %s\n", buf, _(opt->help));
>>               }
> 
> ACK.

Thanks; pushed.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100630/21f97f61/attachment-0001.sig>


More information about the libvir-list mailing list