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

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

 



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@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]