Project

General

Profile

Actions

Feature #4128

open

hammer $command --help should show mandatory and optional parameter differences

Added by Dominic Cleal almost 11 years ago. Updated almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
-
Difficulty:
Triaged:
Yes
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:
yes

Description

Description of problem:
hammer $command --help should provide mandatory and optional parameter difference

How reproducible:
everytime

Steps to Reproduce:
1.# hammer user create --help
Usage:
hammer user create [OPTIONS]

Options:
--login LOGIN
--firstname FIRSTNAME
--lastname LASTNAME
--mail MAIL
--admin ADMIN Is an admin account?
--password PASSWORD
--auth-source-id AUTH_SOURCE_ID
-h, --help print help

2.
3.

Actual results:
here there the mandatory and optional parameters are not mentioned

Expected results:
Make it more user friendly so that one can differentiate between mandatory and optional parameters

(https://bugzilla.redhat.com/show_bug.cgi?id=1044455)


Related issues 2 (2 open0 closed)

Related to Hammer CLI - Bug #16225: Allowed combinations of expanded options aren't obviousNewActions
Related to Hammer CLI - Tracker #27706: Make the options more readable in the command helpAssignedOleh Fedorenko

Actions
Actions #1

Updated by Bryan Kearney about 10 years ago

  • Bugzilla link set to 1013103
Actions #2

Updated by Bryan Kearney about 10 years ago

  • Bugzilla link changed from 1013103 to 1013401
Actions #3

Updated by Tomáš Strachota about 8 years ago

  • Related to Bug #16225: Allowed combinations of expanded options aren't obvious added
Actions #4

Updated by Tomáš Strachota over 6 years ago

  • Category changed from Foreman commands (obsolete) to Hammer core
Actions #5

Updated by Oleh Fedorenko about 5 years ago

  • Related to Tracker #27706: Make the options more readable in the command help added
Actions #6

Updated by Oleh Fedorenko almost 5 years ago

  • Assignee deleted (Martin Bacovsky)
Actions #7

Updated by Shira Maximov almost 5 years ago

  • In Kanboard set to yes

Changing the

Actions #8

Updated by Shira Maximov almost 5 years ago

  • In Kanboard changed from yes to no
Actions #9

Updated by Shira Maximov almost 5 years ago

  • In Kanboard deleted (no)
Actions #10

Updated by Shira Maximov almost 5 years ago

  • In Kanboard set to yes

Changing in_kanboard field to yes

Actions #11

Updated by Shira Maximov almost 5 years ago

  • In Kanboard deleted (yes)
Actions #12

Updated by Shira Maximov almost 5 years ago

  • Triaged changed from No to Yes
Actions #13

Updated by Shira Maximov almost 5 years ago

  • In Kanboard set to yes
Actions

Also available in: Atom PDF