Bug 845491 - rhc client doesn't recognize some arguments
Summary: rhc client doesn't recognize some arguments
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: John (J5) Palmieri
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-03 08:43 UTC by jizhao
Modified: 2015-05-15 02:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 18:12:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.