Bug 1148363

Summary: hammer help command typos
Product: Red Hat Satellite Reporter: Eduardo Minguez <eminguez>
Component: HammerAssignee: Bryan Kearney <bkearney>
Status: CLOSED ERRATA QA Contact: Tazim Kolhar <tkolhar>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0.4CC: bbuckingham, cwelton, tkolhar
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/7857
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:17:27 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 Eduardo Minguez 2014-10-01 09:37:20 UTC
Description of problem:
hammer help shows capital letters sometimes sometimes it doesn't

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

How reproducible:
Run "hammer help" command

Steps to Reproduce:
1. Install satellite 6
2. Run hammer help

Actual results:
...
compute-resource              Manipulate compute resources.
content-host                  manipulate content hosts on the server
content-view                  Manipulate content views.
...
global-parameter              Manipulate global parameters.
gpg                           manipulate GPG Key actions on the server
host                          Manipulate hosts.
...

Expected results:
All explanation first words capitalizer (or not)

Additional info:

Comment 1 RHEL Program Management 2014-10-01 09:53:16 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Bryan Kearney 2014-10-08 16:21:14 UTC
Created redmine issue http://projects.theforeman.org/issues/7857 from this bug

Comment 4 Bryan Kearney 2014-10-10 10:04:37 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/7857 has been closed
-------------
Anonymous
Applied in changeset commit:hammer-cli-katello|2599b88c861e9f2c3a630cf826b60e244fc72455.

Comment 5 Tazim Kolhar 2014-12-05 13:47:55 UTC
VERIFIED:


*** This bug is verified in upstream. This fix should eventually land in future downstream builds ***
Version Tested:

# rpm -qa | grep foreman
foreman-compute-1.8.0-0.develop.201412040955git563fa28.el7.noarch
ruby193-rubygem-foreman_discovery-1.4.1-1.el7.noarch
foreman-selinux-1.8.0-0.develop.201411281557gitf4a857f.el7.noarch
foreman-libvirt-1.8.0-0.develop.201412040955git563fa28.el7.noarch
ruby193-rubygem-foreman_bootdisk-4.0.2-1.el7.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3-2.201409091410git163c264.git.0.988ca80.el7.noarch
foreman-ovirt-1.8.0-0.develop.201412040955git563fa28.el7.noarch
ruby193-rubygem-foreman_hooks-0.3.7-2.el7.noarch
foreman-postgresql-1.8.0-0.develop.201412040955git563fa28.el7.noarch
foreman-gce-1.8.0-0.develop.201412040955git563fa28.el7.noarch
foreman-vmware-1.8.0-0.develop.201412040955git563fa28.el7.noarch
ruby193-rubygem-foreman-tasks-0.6.9-1.el7.noarch
foreman-proxy-1.8.0-0.develop.201411261259git6ddd00d.el7.noarch
ibm-x3550m3-07.lab.eng.brq.redhat.com-foreman-proxy-1.0-1.noarch
ruby193-rubygem-foreman_docker-0.2.0-2.el7.noarch
rubygem-hammer_cli_foreman-0.1.3-1.201411121216git9381fc5.el7.noarch
foreman-1.8.0-0.develop.201412040955git563fa28.el7.noarch
ibm-x3550m3-07.lab.eng.brq.redhat.com-foreman-client-1.0-1.noarch
foreman-release-1.8.0-0.develop.201412040955git563fa28.el7.noarch

# hammer --help
Usage:
    hammer [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    subcommand
 [ARG] ...                     subcommand arguments

Subcommands:
 activation-key                Manipulate activation keys.
 architecture                  Manipulate architectures.
 auth                          Foreman connection login/logout.
 auth-source                   Manipulate auth sources.
 capsule                       Manipulate capsule
 compute-resource              Manipulate compute resources.
 content-host                  Manipulate content hosts on the server
 content-view                  Manipulate content views.
 docker                        Manipulate docker content
 domain                        Manipulate domains.
 environment                   Manipulate environments.
 erratum                       Manipulate errata
 fact                          Search facts.
 filter                        Manage permission filters.
 global-parameter              Manipulate global parameters.
 gpg                           Manipulate GPG Key actions on the server
 host                          Manipulate hosts.
 host-collection               Manipulate host collections
 hostgroup                     Manipulate hostgroups.
 import                        Import data exported from a Red Hat Satellite 5 instance
 lifecycle-environment         Manipulate lifecycle_environments on the server
 location                      Manipulate locations.
 medium                        Manipulate installation media.
 model                         Manipulate hardware models.
 organization                  Manipulate organizations
 os                            Manipulate operating system.
 package                       Manipulate packages.
 package-group                 Manipulate package groups
 partition-table               Manipulate partition tables.
 ping                          Get the status of the server
 product                       Manipulate products.
 proxy                         Manipulate smart proxies.
 puppet-class                  Search puppet modules.
 puppet-module                 View Puppet Module details.
 report                        Browse and read reports.
 repository                    Manipulate repositories
 repository-set                Manipulate repository sets on the server
 role                          Manage user roles.
 sc-param                      Manipulate smart class parameters.
 shell                         Interactive shell
 subnet                        Manipulate subnets.
 subscription                  Manipulate subscriptions.
 sync-plan                     Manipulate sync plans
 task                          Tasks related actions.
 template                      Manipulate config templates.
 user                          Manipulate users.
 user-group                    Manage user groups.

Comment 6 Bryan Kearney 2015-08-11 13:27:50 UTC
This bug is slated to be released with Satellite 6.1.

Comment 7 errata-xmlrpc 2015-08-12 05:17:27 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-2015:1592