Red Hat Bugzilla – Bug 845491
rhc client doesn't recognize some arguments
Last modified: 2015-05-14 22:02:28 EDT
Description of problem:
rhc client doesn't recognize some arguments in some situations. "rhc domain", "rhc app", "rhc sshkey" has the same bug.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Get "unrecognized option" while running "rhc domain -h <args>". For example:
$ rhc domain -h --timeout 20
2.rhc client doesn't recognize option "--config" while showing help info.
$ echo 'email@example.com' > my_express.conf
$ rhc domain create -h --config my_express.conf
1. /usr/bin/rhc-domain: unrecognized option `--timeout'
2. The default rhlogin shown in the help info still comes from ~/.openshift/express.conf
1.There shouldn't be any error messages, or we should change the usage info to:
Usage: rhc domain (<command> [<args>] | --help)
2. The default rhlogin should come from the specified conf file.
-h should be removed as help. It should be only rhc help domain or rhc domain --help, but not -h.
RHC client is old and not yet updated.