Description of problem: [global registration] [hammer] - No proper alignment in host-registration generate-command -h command Version-Release number of selected component (if applicable): Satellite 6.10 Snap 7 How reproducible: always Steps to Reproduce: 1. hammer host-registration generate-command -h Actual results: argument help options are not aligned properly Expected results: argument help options should aligned properly Additional info:
Hi Omkar, Can you include the output of the -h command? Thanks!
Hi, the problem is long description of `/register` API endpoints. But this is problem of formatting on Hammer tool side. My suggestion is to move this to Hammer component
Converted the component to Hammer.
Created redmine issue https://projects.theforeman.org/issues/33129 from this bug
Upstream bug assigned to ofedoren
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/33129 has been resolved.
Verified. Tested on Satellite 7.0 Snap 2.0 Version: tfm-rubygem-hammer_cli-3.1.0-1.el7sat.noarch Steps: 1. # hammer host-registration generate-command -h Observation: Help option descriptions aligned properly in the above command, and as this fixing formatting of all commands, check for random commands like organization create, location create, host create, option descriptions are aligned properly. As this was originally existed and proposed for 6.10 earlier, do we need a backport of this for 6.10?
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 (Moderate: Satellite 6.11 Release), 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-2022:5498
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days