Description of problem: Wrong help info for virsh command "net-port-delete" Version-Release number of selected component (if applicable): libvirt-5.6.0-2.el8.x86_64 How reproducible: 100% Steps to Reproduce: 1. # virsh net-port-delete --help NAME ** net-port-delete - network port information in XML ** SYNOPSIS net-port-delete <network> <port> DESCRIPTION ** Output the network port information as an XML dump to stdout. ** OPTIONS [--network] <string> network name or uuid [--port] <string> port UUID Actual results: The help info for "net-port-delete" is wrong Expected results: NAME net-port-delete - delete the network port DESCRIPTION Delete the network port Additional info:
Fix pushed upstream: commit 7d5f0fda306f02021dc26e67c2778f44d22465b9 Author: Jonathon Jongsma <jjongsma> Date: Tue Sep 3 11:47:29 2019 -0500 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.
Verified with libvirt-6.0.0-1.virtcov.el8.x86_64 & qemu-kvm-4.2.0-6.module+el8.2.0+5453+31b2b136.x86_64 # virsh net-port-delete --help NAME net-port-delete - delete the specified network port SYNOPSIS net-port-delete <network> <port> DESCRIPTION Delete the specified network port. OPTIONS [--network] <string> network name or uuid [--port] <string> port UUID
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2017