[libvirt] [PATCH] virsh: Fix comment for net-undefine
Ján Tomko
jtomko at redhat.com
Tue Aug 19 13:14:10 UTC 2014
On 08/19/2014 04:59 AM, Li Yang wrote:
> net-undefine doesn't only undefine an inactive network,
> but also an active network(persistent), it just cannot
> undefine a transient network.
>
> Signed-off-by: Li Yang <liyang.fnst at cn.fujitsu.com>
> ---
> tools/virsh-network.c | 4 ++--
> tools/virsh.pod | 3 ++-
> 2 files changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/tools/virsh-network.c b/tools/virsh-network.c
> index fc08b09..578abe0 100644
> --- a/tools/virsh-network.c
> +++ b/tools/virsh-network.c
> @@ -798,10 +798,10 @@ cmdNetworkStart(vshControl *ctl, const vshCmd *cmd)
> */
> static const vshCmdInfo info_network_undefine[] = {
> {.name = "help",
> - .data = N_("undefine an inactive network")
> + .data = N_("undefine a persistent network")
> },
> {.name = "desc",
> - .data = N_("Undefine the configuration for an inactive network.")
> + .data = N_("Undefine the configuration for a persistent network.")
> },
> {.name = NULL}
> };
> diff --git a/tools/virsh.pod b/tools/virsh.pod
> index f07deec..9efb920 100644
> --- a/tools/virsh.pod
> +++ b/tools/virsh.pod
> @@ -2557,7 +2557,8 @@ Start a (previously defined) inactive network.
>
> =item B<net-undefine> I<network>
>
> -Undefine the configuration for an inactive network.
> +Undefine the configuration for a persistent network. If the network is active,
> +make it to be transient.
s/to be //
ACK and pushed now.
Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140819/1452c18c/attachment-0001.sig>
More information about the libvir-list
mailing list