[libvirt] [PATCH 01/10 V2] allow name for VSH_OT_ARGV options

Eric Blake eblake at redhat.com
Tue Jun 14 17:12:32 UTC 2011


On 06/07/2011 03:11 AM, Lai Jiangshan wrote:
> A name will improve the usege, example

s/usege/usage/

> 
> # virsh help echo
>   NAME
>     echo - echo arguments
> 
>   SYNOPSIS
>     echo [--shell] [--xml] [<string>]...
> 
>   DESCRIPTION
>     Echo back arguments, possibly with quoting.
> 
>   OPTIONS
>     --shell          escape for shell use
>     --xml            escape for XML use
>     <string>         arguments to echo
> 
> "[<string>]..." is added to SYNOPSIS.

Technically, that was already there, although it was hard-coded as
[<string>]... rather than being flexible as [<name>]... for your choice
of name.

> "<string>         arguments to echo" is added to OPTIONS.

Nice.

> ACK

Pushed.  (oops, I realized I pushed before making the typo fix in the
commit message)

-- 
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/20110614/8c4630fc/attachment-0001.sig>


More information about the libvir-list mailing list