Project

General

Profile

Actions

Bug #38126

closed

Unnecessary changes of option descriptions

Added by Oleh Fedorenko 25 days ago. Updated 15 days ago.

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

Description

Since option families were introduced to reduce the number of semi-duplicate options, the descriptions of those were injected with string substitution to better reflect what an option expects, i.e. Name/Id injection was introduced. For most of the options it works as expected, but if a description coming from the API contains words from https://github.com/theforeman/hammer-cli/blob/master/lib/hammer_cli/options/option_family.rb#L15 and the option doesn't seem to have any "relatives", the injection doesn't make sense.

Actions

Also available in: Atom PDF