Bug 865909

Summary: rhc --version doesn't show the version
Product: OKD Reporter: Luke Meyer <lmeyer>
Component: ocAssignee: John (J5) Palmieri <johnp>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.xCC: jinzhang, jkeck, johnp, pruan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 0.99.7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-06 18:48:44 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 Luke Meyer 2012-10-12 19:27:19 UTC
Description of problem:
"rhc -v" doesn't work.

Version-Release number of selected component (if applicable):
rhc-0.99.5-1.git.204.6603d60.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. Install rhc-0.99.5-1.git.204.6603d60.el6.noarch
2. run "rhc -v"
  
Actual results:
"
Usage: rhc (<resource> | --help) [<action>] [<args>]
Command line interface for OpenShift.

List of Commands and Resources
"
...

Expected results:
rhc 0.99.5

Comment 1 John (J5) Palmieri 2012-10-15 14:48:34 UTC
taking.  rhc <command> --version works but rhc --version doesn't.  Looks like we might be short circuiting if no command is given

Comment 2 Peter Ruan 2012-10-16 22:23:45 UTC
verified with 0.99.7
[pruan@homer-linux <MASTER> bin]# rhc -v
rhc 0.99.7