From: Li Yang Date: Tue, 19 Aug 2014 02:59:51 +0000 (-0400) Subject: virsh: Fix comment for net-undefine X-Git-Tag: v1.2.8-rc1~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48da61871985f3f2fb0c704c68efa26ac9e92f34;p=thirdparty%2Flibvirt.git virsh: Fix comment for net-undefine 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 Signed-off-by: Ján Tomko --- diff --git a/tools/virsh-network.c b/tools/virsh-network.c index fc08b0907d..578abe02c2 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 c96c801dcf..17532e2ede 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -2590,7 +2590,8 @@ Start a (previously defined) inactive network. =item B I -Undefine the configuration for an inactive network. +Undefine the configuration for a persistent network. If the network is active, +make it transient. =item B I