Hide Forgot
Description of problem: rhc domain configure should print out the available sizes that can be set to. Version-Release number of selected component (if applicable): devenv_4017 How reproducible: always. Steps to Reproduce: 1. rhc domain configure --allowed-gear-sizes --help 2. 3. Actual results: Usage: rhc domain-configure <namespace> Change one or more configuration settings on the domain Options --[no-]allowed-gear-sizes [SIZES] A comma-delimited list of the gear sizes that will be allowed in this domain. -n, --namespace NAME Name of a domain Global Options -l, --rhlogin LOGIN OpenShift login -p, --password PASSWORD OpenShift password --token TOKEN An authorization token for accessing your account. --server NAME An OpenShift server hostname (default: openshift.redhat.com) --timeout SECONDS The timeout for operations See 'rhc help options' for a full list of global options. Expected results: should like the available sizes for user who have no ideas what are the available options. Additional info:
--help won't contact the server We can add help telling the user how to find their allowed gear sizes (Run "rhc account")
Will merge in https://github.com/openshift/rhc/pull/506
Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/0af9f0c2c36e50de3a836e3cac6673e210bd0f71 Fix bug 1029169 - improve rhc domain configure gear size help
Tried on devenv_4022, and result like following: [root@ip-10-164-3-171 ~]# rhc domain-configure --allowed-gear-sizes --help Usage: rhc domain-configure <namespace> Change one or more configuration settings on the domain Options --[no-]allowed-gear-sizes A comma-delimited list of gear sizes allowed in this domain. To see available [SIZES] sizes, run 'rhc account'. -n, --namespace NAME Name of a domain Global Options -l, --rhlogin LOGIN OpenShift login -p, --password PASSWORD OpenShift password --token TOKEN An authorization token for accessing your account. --server NAME An OpenShift server hostname (default: openshift.redhat.com) --timeout SECONDS The timeout for operations See 'rhc help options' for a full list of global options. so, verified this issue.