Bug 845491

Summary: rhc client doesn't recognize some arguments
Product: OKD Reporter: jizhao
Component: ocAssignee: John (J5) Palmieri <johnp>
Status: CLOSED WONTFIX QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 2.xCC: jkeck, szhou
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-16 18:12:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jizhao 2012-08-03 08:43:04 UTC
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):
rhc-0.96.8

How reproducible:
Always

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 'default_rhlogin=testrhlogin' > my_express.conf
$ rhc domain create -h --config my_express.conf
3.
  
Actual results:
1. /usr/bin/rhc-domain: unrecognized option `--timeout'
2. The default rhlogin shown in the help info still comes from ~/.openshift/express.conf

Expected results:
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.

Additional info:

Comment 1 Clayton Coleman 2012-08-13 21:43:21 UTC
-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.

Comment 2 John (J5) Palmieri 2012-08-16 18:12:32 UTC
Closing