Bug 848636

Summary: Default rhlogin isn't shown in help info of "rhc domain"
Product: OKD Reporter: jizhao
Component: ocAssignee: Clayton Coleman <ccoleman>
Status: CLOSED WONTFIX QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 2.xCC: szhou
Target Milestone: ---   
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 14:49:10 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-16 05:39:17 UTC
Description of problem:
Run 'rhc help domain -h', and the default rhlogin isn't shown in the help info.

Version-Release number of selected component (if applicable):
rhc-0.97.7-1.el6_3.noarch

How reproducible:
Always

Steps to Reproduce:
1.$ rhc help domain -d
2.$ rhc help domain -d --config my.conf
3.
  
Actual results:
  -l|--rhlogin login        Red Hat login (RedHat Network or OpenShift)


Expected results:
  -l|--rhlogin login        Red Hat login (RHN or OpenShift login) (Default: jizhao+1)


Additional info:
rhc client can successfully get default rhlogin from the conf file and use it as the value of --rhlogin parameter.

Comment 1 Clayton Coleman 2012-08-16 14:49:10 UTC
We've removed the display of the default here because it may require remote calls in some cases.  We may in the future add a way to get your account info from the CLI which would solve this same case.

Not knowing which user you are signed in as is an infrequent case.