Bug 865909 - rhc --version doesn't show the version
Summary: rhc --version doesn't show the version
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: John (J5) Palmieri
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-12 19:27 UTC by Luke Meyer
Modified: 2015-05-15 02:06 UTC (History)
4 users (show)

Fixed In Version: 0.99.7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-06 18:48:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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