Bug 1023163
Summary: | Hammer CLI: --help for many commands repeatedly appends options to the output | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Apurva Bhole <abhole> |
Component: | Provisioning | Assignee: | Tomas Strachota <tstrachota> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Sachin Ghai <sghai> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.2 | CC: | dcleal, ohadlevy, omaciel, sghai, tstrachota |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/3523 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-07-02 14:06:49 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
Apurva Bhole
2013-10-24 18:58:46 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. Got it.. when reproducing it, you need to run in "hammer shell". Fixed in hammer-cli-foreman 0.0.16. Verified with Satellite-6.0.3-RHEL-6-20140430.4 now --help doesn't append options to output.. Tried via hammer shell. hammer> organization update --help Usage: organization update [OPTIONS] Options: --description DESCRIPTION description --id ID resource id --name NAME resource name --new-name NEW_NAME new name for the resource --redhat-repository-url REDHAT_REPOSITORY_URL Redhat CDN url -h, --help print help hammer> organization update --help Usage: organization update [OPTIONS] Options: --description DESCRIPTION description --id ID resource id --name NAME resource name --new-name NEW_NAME new name for the resource --redhat-repository-url REDHAT_REPOSITORY_URL Redhat CDN url -h, --help print help hammer> organization update --help Usage: organization update [OPTIONS] Options: --description DESCRIPTION description --id ID resource id --name NAME resource name --new-name NEW_NAME new name for the resource --redhat-repository-url REDHAT_REPOSITORY_URL Redhat CDN url -h, --help print help hammer> success for environment update, options doesn't append to the output hammer> environment update --help Usage: environment update [OPTIONS] Options: --id ID resource id --name NAME resource name --new-name NEW_NAME new name for the resource -h, --help print help hammer> environment update --help Usage: environment update [OPTIONS] Options: --id ID resource id --name NAME resource name --new-name NEW_NAME new name for the resource -h, --help print help hammer> environment update --help Usage: environment update [OPTIONS] Options: --id ID resource id --name NAME resource name --new-name NEW_NAME new name for the resource -h, --help print help hammer> hammer> domain update --help Usage: domain update [OPTIONS] Options: --description DESC Full name describing the domain --dns-id DNS_ID DNS Proxy to use within this domain --id ID resource id --name NAME resource name --new-name NEW_NAME new name for the resource -h, --help print help hammer> domain update --help Usage: domain update [OPTIONS] Options: --description DESC Full name describing the domain --dns-id DNS_ID DNS Proxy to use within this domain --id ID resource id --name NAME resource name --new-name NEW_NAME new name for the resource -h, --help print help hammer> domain update --help Usage: domain update [OPTIONS] Options: --description DESC Full name describing the domain --dns-id DNS_ID DNS Proxy to use within this domain --id ID resource id --name NAME resource name --new-name NEW_NAME new name for the resource -h, --help print help hammer> hammer> domain delete --help Usage: domain delete [OPTIONS] Options: --id ID resource id --name NAME resource name -h, --help print help hammer> domain delete --help Usage: domain delete [OPTIONS] Options: --id ID resource id --name NAME resource name -h, --help print help hammer> environment delete --help Usage: environment delete [OPTIONS] Options: --id ID resource id --name NAME resource name -h, --help print help hammer> environment delete --help Usage: environment delete [OPTIONS] Options: --id ID resource id --name NAME resource name -h, --help print help hammer> This was delivered with 6.0.3, which is the Satellite 6 Beta. |