Bug 1023077

Summary: hammer: help text for 'domain create' does not line up correctly.
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: ProvisioningAssignee: Tomas Strachota <tstrachota>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0.2CC: dcleal, mmccune, ohadlevy, tstrachota
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/3517
Whiteboard:
Fixed In Version: rubygem-hammer_cli-0.0.9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-11 12:25:58 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 14:55:14 UTC
Description of problem:
When user runs --help for 'hammer domain create', some of the help text does not appear on the correct line

Version-Release number of selected component (if applicable):
rubygem-hammer_cli_foreman-0.0.8-2.el6sat.noarch


How reproducible:


Steps to Reproduce:
1. hammer -u admin -p admin domain create --help
2. View results.

Actual results:
Usage:
    hammer domain create [OPTIONS]

Options:
    --name NAME                   
                                  The full DNS Domain name
    --fullname FULLNAME           
                                  Full name describing the domain
    --dns-id DNS_ID               
                                  DNS Proxy to use within this domain
    -h, --help                    print help



Expected results:
Usage:
    hammer domain create [OPTIONS]

Options:
    --name NAME                   The full DNS Domain name
    --fullname FULLNAME           Full name describing the domain
    --dns-id DNS_ID               DNS Proxy to use within this domain                                  
    -h, --help                    print help


Additional info:

Comment 2 Tomas Strachota 2013-11-12 09:24:44 UTC
Fixed in hammer-cli 0.0.9

commit e365992846ef6609e86713982dd31b89bd099992
Author: Tomas Strachota <tstrachota>
Date:   Tue Sep 10 09:46:44 2013 +0200

    option formatters turned into objects

Comment 6 Bryan Kearney 2014-09-11 12:25:58 UTC
This was delivered with Satellite 6.0 which was released on 10 September 2014.