Project

General

Profile

Actions

Bug #29697

closed

hammer full-help returns misleading output

Added by Oleh Fedorenko about 4 years ago. Updated about 4 years ago.

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

Description

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

Description of problem:
At the output of the `hammer full-help --md` command, some hammer commands have the note `Unfortunately the server does not support such operation.`

The note is misleading because the commands are supported.

There are 8 of such commands:
hammer content-view purge
hammer host errata
hammer host package
hammer host package-group
hammer host subscription
hammer host-collection erratum
hammer host-collection package
hammer host-collection package-group

Version-Release number of selected component (if applicable):
6.7

How reproducible:
Always

Steps to Reproduce:
1. hammer full-help --md
2. In the output, locate "Unfortunately the server does not support such operation."

Actual results:
The note should note be displayed for the commands.

Expected results:
The note is displayed and is misleading

Additional information:
At the same time, running these individual commands with `--help` does not show this message in the output. For example:
~~~
[root@dell-r430-7 ~]# hammer content-view purge --help
Usage:
hammer content-view purge [OPTIONS]

Options:
--async Do not wait for the task
--count COUNT Count of unused versions to keep
Default: 3
--id ID Content View numeric identifier
--name NAME Content View name
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID Organization ID to search by
--organization-label ORGANIZATION_LABEL Organization label to search by
-h, --help Print help
~~~

Actions #1

Updated by Oleh Fedorenko about 4 years ago

  • Status changed from New to Assigned
  • Assignee set to Oleh Fedorenko
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot about 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli/pull/329 added
Actions #3

Updated by The Foreman Bot about 4 years ago

  • Fixed in Releases hammer-cli-0.20.0 added
Actions #4

Updated by Oleh Fedorenko about 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF