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

Re: [libvirt] [PATCH] virsh: fix incorrect help text mentioning non-existent network 'id'



On Tue, Nov 09, 2010 at 01:50:21AM +1100, Justin Clift wrote:
> ---
> Pushed this under the trivial rule. There's no such thing as a
> network id, so the help text is plainly wrong.
>  tools/virsh.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/tools/virsh.c b/tools/virsh.c
> index e704799..2bbae9b 100644
> --- a/tools/virsh.c
> +++ b/tools/virsh.c
> @@ -3650,7 +3650,7 @@ static const vshCmdInfo info_network_destroy[] = {
>  };
>  
>  static const vshCmdOptDef opts_network_destroy[] = {
> -    {"network", VSH_OT_DATA, VSH_OFLAG_REQ, N_("network name, id or uuid")},
> +    {"network", VSH_OT_DATA, VSH_OFLAG_REQ, N_("network name or uuid")},
>      {NULL, 0, 0, NULL}
>  };
>  
> @@ -3689,7 +3689,7 @@ static const vshCmdInfo info_network_dumpxml[] = {
>  };
>  
>  static const vshCmdOptDef opts_network_dumpxml[] = {
> -    {"network", VSH_OT_DATA, VSH_OFLAG_REQ, N_("network name, id or uuid")},
> +    {"network", VSH_OT_DATA, VSH_OFLAG_REQ, N_("network name or uuid")},
>      {NULL, 0, 0, NULL}
>  };
>  
> @@ -9329,7 +9329,7 @@ static const vshCmdInfo info_network_edit[] = {
>  };
>  
>  static const vshCmdOptDef opts_network_edit[] = {
> -    {"network", VSH_OT_DATA, VSH_OFLAG_REQ, N_("network name, id or uuid")},
> +    {"network", VSH_OT_DATA, VSH_OFLAG_REQ, N_("network name or uuid")},
>      {NULL, 0, 0, NULL}
>  };
>  

  ACK, cut'n paste is so much easier than retyping :-)

   thanks !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


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