Bug 1969748
Summary: | Hammer documentation for "hammer organization create --help" command has unnecessary and repeated description | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Shweta Singh <shwsingh> |
Component: | Hammer | Assignee: | Oleh Fedorenko <ofedoren> |
Status: | CLOSED ERRATA | QA Contact: | Shweta Singh <shwsingh> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.10.0 | CC: | apatel, gtalreja, kgaikwad, ofedoren, pcreech, rabajaj |
Target Milestone: | 6.11.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-07-05 14:28:57 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Shweta Singh
2021-06-09 07:56:19 UTC
Created redmine issue https://projects.theforeman.org/issues/32783 from this bug Upstream bug assigned to ofedoren Upstream bug assigned to ofedoren Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32783 has been resolved. FailedQA I was able to reproduce the issue on Satellite 7.0 Snap 6 for the hammer commands in "Options details" section of the command. Expected output: Command options should have relevant descriptions only. Actual Output: hammer organization create --help Usage: hammer organization create [OPTIONS] Options: --compute-resource[s|-ids] LIST Compute resource names/ids --description VALUE --domain[s|-ids] LIST Domain names/ids --environment-ids LIST Environment ids --hostgroup[s|-ids|-titles] LIST Host group names/titles/ids --label VALUE --location[-id|-title] VALUE/NUMBER Set the current location context for the request --location[s|-ids|-titles] LIST Associated location names/titles/ids --medi[a|um-ids] LIST Medium names/ids --name VALUE --organization[-id|-title|-label] VALUE/NUMBER Set the current organization context for the request --partition-table[s|-ids] LIST Partition template names/ids --provisioning-template[s|-ids] LIST Provisioning template names/ids --realm[s|-ids] LIST Realm names/ids --smart-prox[ies|y-ids] LIST Capsule names/ids --subnet[s|-ids] LIST Subnet names/ids --user[s|-ids] LIST User logins/ids -h, --help Print help Option details: Here you can find option types and the value an option can accept: BOOLEAN One of true/false, yes/no, 1/0 DATETIME Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format ENUM Possible values are described in the option's description FILE Path to a file KEY_VALUE_LIST Comma-separated list of key=value. JSON is acceptable and preferred way for such parameters LIST Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for such parameters MULTIENUM Any combination of possible values described in the option's description NUMBER Numeric value. Integer SCHEMA Comma separated list of values defined by a schema. JSON is acceptable and preferred way for such parameters VALUE Value described in the option's description. Mostly simple string Hi Shweta, Could you please elaborate why is this FailedQA exactly? I'd agree that previously we had a lot of repeated descriptions, but now they have been extracted to an additional section with descriptions for accepted values. The option semantics are only shown in the option description itself (such as "Set the current organization context for the request"), but users also need to now the "syntax" (such as comma separated list of values defined by a schema). We left "JSON is acceptable and preferred way for such parameters" notification, so we don't need an additional section for that with list of the supported option types. From our perspective there nothing more needs to be changed in this regard. Thanks for clarifying Oleh. I wish we could make it look little less repetitive but otherwise looks good to verify this issue. Verified this issue Satellite 7.0 Snap 6. 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 |