Project

General

Profile

Bug #27597

output format for hammer help command is inconsistent

Added by Oleh Fedorenko 11 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Other commands
Target version:
-
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1666687

Description of problem:
output format of help for some hammer command is inconsistent

Version-Release number of selected component (if applicable):
@satellite 6.5.0 snap 11

How reproducible:
always

Steps to Reproduce:
1. output format of help for some hammer command is inconsistent
2. It should be like <shortname>, <name>, <value>, <description>
3. commands are:
- hammer virt-who-config fetch
- hammer report-template create
- hammer report-template update

Actual results:
hammer > virt-who-config > fetch
--------------------------------
Renders a deploy script for the specified virt-who configuration

Usage:
hammer > virt-who-config > fetch [OPTIONS]

Options:
--id ID
--location LOCATION_NAME Location name
--location-id LOCATION_ID
--location-title LOCATION_TITLE Location title
--name NAME Name to search by
--organization ORGANIZATION_NAME Organization name
--organization-id ORGANIZATION_ID Organization ID
--organization-title ORGANIZATION_TITLE Organization title
--output, -o FILE File where the script will be written.
-h, --help Print help

Expected results:
Usage:
hammer > virt-who-config > fetch [OPTIONS]

Options:
--id ID
--location LOCATION_NAME Location name
--location-id LOCATION_ID
--location-title LOCATION_TITLE Location title
--name NAME Name to search by
--organization ORGANIZATION_NAME Organization name
--organization-id ORGANIZATION_ID Organization ID
--organization-title ORGANIZATION_TITLE Organization title
-o, --output FILE File where the script will be written.
-h, --help Print help

Additional info:

Associated revisions

Revision 9999e05a (diff)
Added by yifat makias 10 months ago

Fixes #27597 - Fixed inconsistent in output format

History

#1 Updated by Oleh Fedorenko 11 months ago

  • Triaged changed from No to Yes
  • Difficulty set to trivial

#2 Updated by yifat makias 10 months ago

  • Assignee set to yifat makias

#3 Updated by The Foreman Bot 10 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/447 added

#4 Updated by The Foreman Bot 10 months ago

  • Fixed in Releases hammer-cli-foreman-0.19.0 added

#5 Updated by yifat makias 10 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF