Actions
Bug #3523
closedOutput of "organization update --help" grows on each invocation in hammer shell
Description
Description of problem:
--help for environment/domain/organization update/delete commands repearedly appends options to the output.
The issue probably exists for all the commands for which --help fetches for options having unique constrain. Eg. id, name
Version-Release number of selected component (if applicable):
rubygem-hammer_cli-0.0.7-2.el6sat.noarch
rubygem-hammer_cli_foreman-0.0.8-2.el6sat.noarch
How reproducible:
always
Steps to Reproduce:
1. run "hammer shell"
2. organization update --help
Usage: hammer organization update [OPTIONS] Options: --id ID resource id --name NAME resource name --new-name NEW_NAME new name for the resource -h, --help print help
3. organization update --help
Usage: hammer organization update [OPTIONS] Options: --id ID resource id --name NAME resource name --new-name NEW_NAME new name for the resource -h, --help print help --id ID resource id --name NAME resource name --new-name NEW_NAME new name for the resource
3. organization update --help
Usage: hammer organization update [OPTIONS] Options: --id ID resource id --name NAME resource name --new-name NEW_NAME new name for the resource -h, --help print help --id ID resource id --name NAME resource name --new-name NEW_NAME new name for the resource --id ID resource id --name NAME resource name --new-name NEW_NAME new name for the resource
Expected results:
(Always)
Usage: hammer organization update [OPTIONS] Options: --id ID resource id --name NAME resource name --new-name NEW_NAME new name for the resource -h, --help print help
Actions