Bug 1023133 - hammer: template create --help formatted incorrectly.
Summary: hammer: template create --help formatted incorrectly.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning
Version: 6.0.2
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: Ohad Levy
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-24 17:07 UTC by Corey Welton
Modified: 2019-09-26 13:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-02 14:14:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 3517 0 None None None 2016-04-22 14:59:59 UTC
Red Hat Bugzilla 1023077 0 unspecified CLOSED hammer: help text for 'domain create' does not line up correctly. 2021-02-22 00:41:40 UTC

Internal Links: 1023077

Description Corey Welton 2013-10-24 17:07:23 UTC
Description of problem:

more --help text being incorrectly formatted.

Version-Release number of selected component (if applicable):

Satellite-6.0.2-RHEL-6-20131023.1

How reproducible:


Steps to Reproduce:
hammer -u admin -p admin template create --help


Actual results:
Usage:
    hammer template create [OPTIONS]

Options:
    --file TEMPLATE               Path to a file that contains the template
    --type TYPE                   Template type. Eg. snippet, script, provision
    --name NAME                   
                                  template name
    --audit-comment AUDIT_COMMENT  
    --operatingsystem-ids OPERATINGSYSTEM_IDS 
                                  Array of operating systems ID to associate the template with
    -h, --help                    print help


Expected results:

Usage:
    hammer template create [OPTIONS]

Options:
    --file TEMPLATE               Path to a file that contains the template
    --type TYPE                   Template type. Eg. snippet, script, provision
    --name NAME                   template name
    --audit-comment AUDIT_COMMENT  
    --operatingsystem-ids OPERATINGSYSTEM_IDS 
                                  Array of operating systems ID to associate the template with
    -h, --help                    print help

Additional info:

Comment 2 Dominic Cleal 2014-01-09 13:46:40 UTC
Fixed in hammer-cli 0.0.9

Comment 6 Corey Welton 2014-05-05 20:10:05 UTC
Verified, I guess, in Satellite-6.0.3-RHEL-6-20140430.4, although "--operatingsystem-ids" should have appropriate spacing, and I am wondering if we shouldn't put the required parameters in <>, i.e., 

    --audit-comment >AUDIT_COMMENT>


Can write up separate issues down the road but this one is ok -- insofar as the reported bug was fixed -- for now i guess.

Comment 7 Bryan Kearney 2014-07-02 14:09:49 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.

Comment 8 Bryan Kearney 2014-07-02 14:10:01 UTC
This was delivered in 6.0.3, the Beta version of Satellite 6.0

Comment 9 Bryan Kearney 2014-07-02 14:14:41 UTC
This was delivered in the Satellite 6 Beta (6.0.3)


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