38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
From 501ce10b135c1edcf5e05996ff85f7a35bdc2ecc Mon Sep 17 00:00:00 2001
|
|
From: Jonathon Jongsma <jjongsma@redhat.com>
|
|
Date: Tue, 3 Sep 2019 11:47:29 -0500
|
|
Subject: [PATCH] virsh: Fix help for net-port-delete
|
|
|
|
Apparently a copy/paste error. The net-port-delete help string was in
|
|
fact from net-port-dumpxml.
|
|
|
|
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1747826
|
|
|
|
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
|
|
(cherry-picked from commit 7d5f0fda306f02021dc26e67c2778f44d22465b9)
|
|
Signed-off-by: Xu Yandong <xuyandong2@huawei.com>
|
|
---
|
|
tools/virsh-network.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/tools/virsh-network.c b/tools/virsh-network.c
|
|
index af08441..be16f79 100644
|
|
--- a/tools/virsh-network.c
|
|
+++ b/tools/virsh-network.c
|
|
@@ -1593,10 +1593,10 @@ cmdNetworkPortDumpXML(vshControl *ctl, const vshCmd *cmd)
|
|
*/
|
|
static const vshCmdInfo info_network_port_delete[] = {
|
|
{.name = "help",
|
|
- .data = N_("network port information in XML")
|
|
+ .data = N_("delete the specified network port")
|
|
},
|
|
{.name = "desc",
|
|
- .data = N_("Output the network port information as an XML dump to stdout.")
|
|
+ .data = N_("Delete the specified network port.")
|
|
},
|
|
{.name = NULL}
|
|
};
|
|
--
|
|
2.21.0
|
|
|