[libvirt] [PATCH] virsh: Fix help for net-port-delete

Jonathon Jongsma jjongsma at redhat.com
Tue Sep 3 16:47:29 UTC 2019


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 at redhat.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 af08441842..be16f7970e 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




More information about the libvir-list mailing list