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

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



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 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]