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

Also available in: Atom PDF