Project

General

Profile

Actions

Bug #3523

closed

Output of "organization update --help" grows on each invocation in hammer shell

Added by Dominic Cleal over 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer core
Target version:
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

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

(https://bugzilla.redhat.com/show_bug.cgi?id=1023163)

Actions #1

Updated by Tomáš Strachota over 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Tomáš Strachota
Actions #3

Updated by Dominic Cleal over 10 years ago

  • Target version set to 1.9.2
Actions #4

Updated by Anonymous over 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Applied in changeset foreman:hammer-cli|commit:0b84379a8396811dff0ae65f972f337e9dfc0085.

Actions

Also available in: Atom PDF