Bug #3512
Updated by Dominic Cleal about 11 years ago
Lots of the help results for 'location' should have text that is a little more applicable to the specified subcommand. Steps to Reproduce: 1. hammer -u admin -p admin location --help Actual results: <pre> Usage: hammer location [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND subcommand [ARG] ... subcommand arguments Subcommands: remove_medium Disassociate a resource remove_configtemplate Disassociate a resource remove_environment Disassociate a resource remove_smartproxy Disassociate a resource add_computeresource Associate a resource list List all locations add_medium Associate a resource add_configtemplate Associate a resource update Update a location add_environment Associate a resource remove_subnet Disassociate a resource remove_organization Disassociate a resource remove_domain Disassociate a resource remove_user Disassociate a resource delete Delete a location remove_hostgroup Disassociate a resource add_smartproxy Associate a resource add_subnet Associate a resource add_organization Associate a resource add_domain Associate a resource add_user Associate a resource create Create a location add_hostgroup Associate a resource remove_computeresource Disassociate a resource info Show a location </pre> Expected results: <pre> Usage: hammer location [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND subcommand [ARG] ... subcommand arguments Subcommands: remove_medium Disassociate a medium remove_configtemplate Disassociate a configuration template remove_environment Disassociate an environment remove_smartproxy Disassociate a smart proxy add_computeresource Associate a compute resource list List all locations [...] </pre> ...and so on. Likewise for the "Associate a resource" lines. (https://bugzilla.redhat.com/show_bug.cgi?id=1023164)