From 48da61871985f3f2fb0c704c68efa26ac9e92f34 Mon Sep 17 00:00:00 2001 From: Li Yang Date: Mon, 18 Aug 2014 22:59:51 -0400 Subject: [PATCH] virsh: Fix comment for net-undefine MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- 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 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 -- GitLab