Bug 1446742

Summary: There is inconsistent capitalization in the hammer help
Product: Red Hat Satellite Reporter: Peter Gervase <pgervase>
Component: HammerAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Nikhil Kathole <nkathole>
Severity: low Docs Contact:
Priority: medium    
Version: 6.2.8CC: dhlavacd, jcallaha, mhulan, nkathole, pgervase, tstrachota
Target Milestone: 6.4.0Keywords: Triaged, UserExperience
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-16 18:55:08 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 Peter Gervase 2017-04-28 17:31:14 UTC
Description of problem:
When you run
# hammer content-view remove-version --help
or
# hammer content-view remove-from-environment --help
Usage:
    hammer content-view remove-from-environment [OPTIONS]

Options:
 --async                                             Do not wait for the task
 --id ID                                             content view numeric identifier
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME  Name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID  
 --name NAME                                         Content view 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
 -h, --help                                          print help


The help text does not always start with a capital or lowercase letter. They should all start the same for consistency.

Version-Release number of selected component (if applicable):
6.2.8

How reproducible:
100%

Steps to Reproduce:
1. Run the above commands
2.
3.

Actual results:
Output as shown with some help text starting with a capital letter and others, "content view numeric identifier", "organization ID", "print help" starting with a lowercase letter.

Expected results:
All help text to start with a capital or all to start with a lowercase letter.

Additional info:

Comment 1 Tomas Strachota 2017-05-03 14:05:46 UTC
Hi Peter,
what was the reason for keeping this BZ private? Since it doesn't contain any sensitive date, can you publish it, please?

Comment 3 Tomas Strachota 2017-05-10 13:08:56 UTC
Created redmine issue http://projects.theforeman.org/issues/19511 from this bug

Comment 4 Satellite Program 2017-08-18 12:13:51 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/19511 has been resolved.

Comment 5 Nikhil Kathole 2018-06-19 08:30:30 UTC
VERIFIED

Version tested:
Satellite 6.4 snap 8

# hammer content-view remove-version --help
Usage:
    hammer content-view remove-version [OPTIONS]

Options:
 --content-view CONTENT_VIEW_NAME                    Content view name to search by
 --content-view-id CONTENT_VIEW_ID                   Content view numeric identifier
 --content-view-version CONTENT_VIEW_VERSION_VERSION Content view version number
 --content-view-version-id CONTENT_VIEW_VERSION_ID   Content view version identifier
 --id ID                                             Content view numeric identifier
 --name NAME                                         Content view name to search by
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization ID to search by
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 -h, --help                                          Print help

# hammer content-view remove-from-environment --help
Usage:
    hammer content-view remove-from-environment [OPTIONS]

Options:
 --async                                             Do not wait for the task
 --id ID                                             Content view numeric identifier
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME  Environment name
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID  
 --name NAME                                         Content view name to search by
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization ID to search by
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 -h, --help                                          Print help

Comment 6 Bryan Kearney 2018-10-16 18:55:08 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:2927