Bug 1747826 - Wrong help info for virsh command "net-port-delete"
Summary: Wrong help info for virsh command "net-port-delete"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: libvirt
Version: 8.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jonathon Jongsma
QA Contact: Jing Qi
URL:
Whiteboard:
Depends On:
Blocks: 1585087
TreeView+ depends on / blocked
 
Reported: 2019-09-02 00:51 UTC by yalzhang@redhat.com
Modified: 2020-11-02 09:34 UTC (History)
4 users (show)

Fixed In Version: libvirt-5.9.0-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-05 09:49:40 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:2017 0 None None None 2020-05-05 09:50:56 UTC

Description yalzhang@redhat.com 2019-09-02 00:51:13 UTC
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:

Comment 1 Jonathon Jongsma 2019-09-09 14:27:53 UTC
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.

Comment 3 Jing Qi 2020-01-20 08:44:05 UTC
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

Comment 5 errata-xmlrpc 2020-05-05 09:49:40 UTC
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


Note You need to log in before you can comment on or make changes to this bug.