Project

General

Profile

Actions

Bug #14598

closed

hammer help text shows HTML characters such as "'"

Added by Bryan Kearney over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1325525
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:


Related issues 1 (1 open0 closed)

Related to Hammer CLI - Refactor #15198: Remove change to Apipie option definition.NewActions
Actions

Also available in: Atom PDF