Bug 1023133

Summary: hammer: template create --help formatted incorrectly.
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: ProvisioningAssignee: Ohad Levy <ohadlevy>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0.2CC: dcleal, ohadlevy
Target Milestone: UnspecifiedKeywords: Reopened, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/3517
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-02 14:14:41 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:

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)