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 <liyang.fnst@cn.fujitsu.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Li Yang 2014-08-18 22:59:51 -04:00 committed by Ján Tomko
parent 2b748fb604
commit 48da618719
2 changed files with 4 additions and 3 deletions

View 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}
};

View 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>