Project

General

Profile

Actions

Bug #6093

closed

hammer : description of options given under host-collection subscommands should be more clear and descriptive

Added by Tomáš Strachota almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1103073
Description of problem:
Description of options given under host-collection subscommands should be more clear and descriptive. For ex:

[root@dhcp207-55 ~]# hammer host-collection remove-content-host --help
Usage:
hammer host-collection remove-content-host [OPTIONS]

Options:
--id ID
--name NAME Name to search by
--organization ORGANIZATION_NAME
--organization-id ORGANIZATION_ID
--organization-label ORGANIZATION_LABEL
--system SYSTEM_NAME
--system-id SYSTEM_ID
-h, --help print help

Please make it more user friendly. User should understand all options by their description.

here --id should have description like: ID of host-collection[required]
--name should have description Name of host-collection
--system Name of system

There are other areas as well which are not clear. like:

[root@dhcp207-55 ~]# hammer host-collection content-hosts --help
Usage:
hammer host-collection content-hosts [OPTIONS]

Options:
--activation-key ACTIVATION_KEY_NAME
--activation-key-id ACTIVATION_KEY_ID
--id ID Id of the host collection
--organization ORGANIZATION_NAME
--organization-id ORGANIZATION_ID
--organization-label ORGANIZATION_LABEL
--system SYSTEM_NAME
--system-id SYSTEM_ID
-h, --help print help

here what's the purpose of --system, assuming to list/search the list by specific list.?

Version-Release number of selected component (if applicable):
sat6 beta snap7 compose 2 (Satellite-6.0.3-RHEL-6-20140528.4)

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:

Expected results:
Description of options given under host-collection subscommands should be more clear and descriptive.

Additional info:

Actions #1

Updated by Tomáš Strachota almost 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Tomáš Strachota
  • Triaged set to No
Actions #2

Updated by Eric Helms almost 10 years ago

  • Target version set to 45
  • Triaged changed from No to Yes
Actions #4

Updated by Eric Helms almost 10 years ago

  • Target version changed from 45 to 48
Actions #5

Updated by Anonymous almost 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Applied in changeset hammer-cli-katello|commit:7488b3a8285eb2d252db35684400a2357f71308a.

Actions #6

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF