Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1044455 - Hammer CLI : hammer $command --help should provide mandatory and optional parameter difference
Summary: Hammer CLI : hammer $command --help should provide mandatory and optional par...
Keywords:
Status: CLOSED DUPLICATE of bug 1013401
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: Nightly
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: Martin Bacovsky
QA Contact: Tazim Kolhar
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-18 10:51 UTC by Tazim Kolhar
Modified: 2016-04-26 00:58 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-18 17:57:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 4128 0 'Normal' 'New' 'hammer $command --help should show mandatory and optional parameter differences' 2019-11-28 15:20:36 UTC

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 ***


Note You need to log in before you can comment on or make changes to this bug.