Description of problem: output format of help for some hammer command is inconsistent Version-Release number of selected component (if applicable): @satellite 6.5.0 snap 11 How reproducible: always Steps to Reproduce: 1. output format of help for some hammer command is inconsistent 2. It should be like <shortname>, <name>, <value>, <description> 3. commands are: - hammer virt-who-config fetch - hammer report-template create - hammer report-template update Actual results: hammer > virt-who-config > fetch -------------------------------- Renders a deploy script for the specified virt-who configuration Usage: hammer > virt-who-config > fetch [OPTIONS] Options: --id ID --location LOCATION_NAME Location name --location-id LOCATION_ID --location-title LOCATION_TITLE Location title --name NAME Name to search by --organization ORGANIZATION_NAME Organization name --organization-id ORGANIZATION_ID Organization ID --organization-title ORGANIZATION_TITLE Organization title --output, -o FILE File where the script will be written. -h, --help Print help Expected results: Usage: hammer > virt-who-config > fetch [OPTIONS] Options: --id ID --location LOCATION_NAME Location name --location-id LOCATION_ID --location-title LOCATION_TITLE Location title --name NAME Name to search by --organization ORGANIZATION_NAME Organization name --organization-id ORGANIZATION_ID Organization ID --organization-title ORGANIZATION_TITLE Organization title -o, --output FILE File where the script will be written. -h, --help Print help Additional info:
Created redmine issue https://projects.theforeman.org/issues/27597 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27597 has been resolved.
Verified Verified with: - Satellite 6.7.0 snap 6 - tfm-rubygem-hammer_cli_foreman_virt_who_configure-0.0.5-1.el7sat.noarch - tfm-rubygem-hammer_cli_foreman-0.19.3-1.el7sat.noarch Test steps: Observation: - Output format of hammer commands is consistent, <shortname>, <name>, <value>, <description> hammer> virt-who-config fetch --help Usage: virt-who-config fetch [OPTIONS] Options: --id ID --location LOCATION_NAME Location name --location-id LOCATION_ID --location-title LOCATION_TITLE Location title --name NAME Name to search by --organization ORGANIZATION_NAME Organization name --organization-id ORGANIZATION_ID Organization ID --organization-title ORGANIZATION_TITLE Organization title -h, --help Print help -o, --output FILE File where the script will be written
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:1455