Hide Forgot
Description of problem: Several hammer cli commands and subcommands show HTML characters in their help text. For example: > repository list --help Usage: hammer repository list [OPTIONS] Options: --available-for AVAILABLE_FOR interpret specified object to return only Repositories that can be associated with specified object. Only 'content_view' is supported. The string 'Only 'content_view' is' should be rendered as 'Only "content_view" is'. At a first glance, it looks like we're converting quote characters into HTML. Version-Release number of selected component (if applicable): * Satellite 6.2.0 SNAP 7.1 How reproducible: Steps to Reproduce: 1. Run the "hammer repository list -h" command (other commands/subcommands will also work) 2. 3. Actual results: Expected results: Additional info:
I'd propose to merge this and all the following bugs together as they're apparently pointing to the same issue: https://bugzilla.redhat.com/show_bug.cgi?id=1313531 https://bugzilla.redhat.com/show_bug.cgi?id=1313524
*** Bug 1313524 has been marked as a duplicate of this bug. ***
*** Bug 1313531 has been marked as a duplicate of this bug. ***
please see the dupes per comment 3
Created redmine issue http://projects.theforeman.org/issues/14598 from this bug
Moving to POST since upstream bug http://projects.theforeman.org/issues/14598 has been closed
VERIFIED. @Sat6.2.0-Snap14.0 tfm-rubygem-hammer_cli_katello-0.0.22.12-1.el7sat.noarch # hammer repository list -h Usage: hammer repository list [OPTIONS] Options: --available-for AVAILABLE_FOR interpret specified object to return only Repositories that can be associated with specified object. Only 'content_view' is supported. --by BY Field to sort the results on --content-type CONTENT_TYPE limit to only repositories of this type Possible value(s): 'docker', 'file', 'puppet', 'yum' --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 --environment ENVIRONMENT_NAME Name to search by --environment-id ENVIRONMENT_ID --erratum-id ERRATUM_ID Id of an erratum to find repositories that contain the erratum --full-results FULL_RESULTS Whether or not to show all results One of true/false, yes/no, 1/0. --library LIBRARY show repositories in Library and the default content view One of true/false, yes/no, 1/0. --name NAME name of the repository --order ORDER Sort field and order, eg. 'name DESC' --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID organization ID --organization-label ORGANIZATION_LABEL Organization label to search by --page PAGE Page number, starting at 1 --per-page PER_PAGE Number of results per page to return --product PRODUCT_NAME Product name to search by --product-id PRODUCT_ID product numeric identifier --rpm-id RPM_ID Id of a package to find repositories that contain the rpm --search SEARCH Search string -h, --help print help >> No HTML characters when runnning --help
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-2016:1501