Hide Forgot
Description of problem: user can perform the command without the required option '-l' Version-Release number of selected component (if applicable): rhc-0.84.9-1.el6_2.noarch How reproducible: always Steps to Reproduce: 1.install latest rhc client 2.check rhc-ctl-domain help # rhc-ctl-domain -h Actual results: -l|--rhlogin rhlogin Red Hat login (RHN or OpenShift login with OpenShift Express access) (required) Expected results: remove the (required) for -l option from the help doc Additional info:
This is actually consistent with the other commands (they all show that -l is required). However, it's true that it's possible to omit the -l flag if you have specified a default_rhlogin in your express.conf file.
Refer Alex's comments above. In my opinion, this is not a bug.
Rechecked again, the situation isas following: 1).When there is default_rhlogin defined in express.conf, other commands will not show (required) for the -l option but show (default: bmeng), expect rhc-create-domain and rhc-ctl-domain. 2).When there is no default_rhlogin defined in express.conf, all the commands will show (required) for -l option. And for the rhc-create-domain command, option -l is required exactly. So I think this should be fixed.
I have made the required changes to the two commands and will check them in next week.
The changes have been checked into master.
verified with rhc-0.85.2-1.el6_2.noarch, issue has been fixed.
Closing verified bugs.