Bug 1044455

Summary: Hammer CLI : hammer $command --help should provide mandatory and optional parameter difference
Product: Red Hat Satellite Reporter: Tazim Kolhar <tkolhar>
Component: HammerAssignee: Martin Bacovsky <mbacovsk>
Status: CLOSED DUPLICATE QA Contact: Tazim Kolhar <tkolhar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: NightlyCC: bkearney, cwelton, dcleal, ohadlevy, omaciel, sthirugn, tstrachota
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
URL: http://projects.theforeman.org/issues/4128
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-18 17:57:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tazim Kolhar 2013-12-18 10:51:53 UTC
Description of problem:
hammer $command --help should provide mandatory and optional parameter difference

Version-Release number of selected component (if applicable):
# rpm -qa | grep foreman
rubygem-hammer_cli_foreman-0.0.12-1.el6.noarch
foreman-compute-1.4.0-0.develop.201312161731git9e1b757.el6.noarch
foreman-installer-1.4.0-0.develop.201312171100git39bac59.el6.noarch
foreman-release-1.4.0-0.develop.201312161731git9e1b757.el6.noarch
foreman-1.4.0-0.develop.201312161731git9e1b757.el6.noarch
foreman-ovirt-1.4.0-0.develop.201312161731git9e1b757.el6.noarch
foreman-proxy-1.4.0-0.develop.201312091021git42bab91.el6.noarch
foreman-postgresql-1.4.0-0.develop.201312161731git9e1b757.el6.noarch
rubygem-foreman_api-0.1.8-1.el6.noarch
foreman-libvirt-1.4.0-0.develop.201312161731git9e1b757.el6.noarch
foreman-selinux-1.4.0-0.develop.201311220906gite342a0b.el6.noarch


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 

Additional info:

Comment 1 RHEL Program Management 2013-12-18 10:55:02 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 4 Bryan Kearney 2015-08-25 17:23:01 UTC
Upstream bug component is Hammer

Comment 5 Bryan Kearney 2016-03-18 17:57:22 UTC

*** This bug has been marked as a duplicate of bug 1013401 ***