Bug 1501991

Summary: hammer repository-set enable --help doesn't explain purpose of --new-name
Product: Red Hat Satellite Reporter: Eric Lavarde <elavarde>
Component: RepositoriesAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED ERRATA QA Contact: Nikhil Kathole <nkathole>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: akarsale, bbuckingham, dhlavacd, ehelms, kgaikwad, mhulan, nkathole, rabajaj, sabnave, tstrachota
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 17:32:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eric Lavarde 2017-10-13 16:19:12 UTC
Description of problem:
calling `hammer repository-set enable --help`, the parameter `--new-name` is listed without explanation.

Version-Release number of selected component (if applicable):
tfm-rubygem-hammer_cli-0.11.0.1-1.el7sat.noarch

How reproducible:
always

Steps to Reproduce:
1. hammer repository-set enable --help

Actual results:
No explanation for --new-name

Expected results:
Short explanation of --new-name

Additional info:
n/a

Comment 2 Brad Buckingham 2017-10-17 21:08:43 UTC
Created redmine issue http://projects.theforeman.org/issues/21371 from this bug

Comment 3 Satellite Program 2017-10-17 22:07:08 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21371 has been resolved.

Comment 4 Nikhil Kathole 2017-10-23 06:06:23 UTC
VERIFIED

Version Tested:
Satellite-6.3 Snap 21

steps:

Before 

# hammer repository-set enable --help
Usage:
    hammer repository-set enable [OPTIONS]

Options:
 --basearch BASEARCH                     Basearch to enable
 --id ID                                 ID of the repository set to enable
 --name NAME                             Repository set name to search by
 --new-name NEW_NAME
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --product PRODUCT_NAME                  Product name to search by
 --product-id PRODUCT_ID                 product numeric identifier
 --releasever RELEASEVER                 Releasever to enable
 -h, --help                              print help

=========================================================================

Now 

# hammer repository-set enable --help
Usage:
    hammer repository-set enable [OPTIONS]

Options:
 --basearch BASEARCH                     Basearch to enable
 --id ID                                 ID of the repository set to enable
 --name NAME                             Repository set name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --product PRODUCT_NAME                  Product name to search by
 --product-id PRODUCT_ID                 product numeric identifier
 --releasever RELEASEVER                 Releasever to enable
 -h, --help                              print help

Found --new-name parameter removed.

Comment 5 Bryan Kearney 2018-02-21 17:32:16 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/RHSA-2018:0336

Comment 6 Bryan Kearney 2018-02-21 17:32:46 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/RHSA-2018:0336