]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virsh: Fix comment for net-undefine
authorLi Yang <liyang.fnst@cn.fujitsu.com>
Tue, 19 Aug 2014 02:59:51 +0000 (22:59 -0400)
committerJán Tomko <jtomko@redhat.com>
Tue, 19 Aug 2014 13:14:32 +0000 (15:14 +0200)
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@cn.fujitsu.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
tools/virsh-network.c
tools/virsh.pod

index fc08b0907dc90d80e9862ea8aac46055267abf14..578abe02c224d876f2bd6a99ed9fda1a39be2c4b 100644 (file)
@@ -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}
 };
index c96c801dcfce685a148f2f1446e7237b1e34fb24..17532e2edecb3b8064aa10607a309a1d76e8eb6f 100644 (file)
@@ -2590,7 +2590,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 transient.
 
 =item B<net-uuid> I<network-name>