Bug 860989 - [fork]Have two app commands listed in the rhc --help
Summary: [fork]Have two app commands listed in the rhc --help
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: John (J5) Palmieri
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-27 09:22 UTC by Wei Sun
Modified: 2015-05-15 02:05 UTC (History)
2 users (show)

Fixed In Version: fork_ami_US2597_US2599_US2813_US2817_US2872_173
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-06 18:47:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Wei Sun 2012-09-27 09:22:49 UTC
Description of problem:
run "rhc -h",have two app commands listed.

Version-Release number of selected component (if applicable):
fork_ami_US2597_US2599_US2813_US2817_US2872_172

How reproducible:
always

Steps to Reproduce:
1.
2.
3.
  
Actual results:
[sunwei@dhcp-8-229 dev]$ rhc -h
Usage: rhc (<resource> | --help) [<action>] [<args>]
Command line interface for OpenShift.

List of Commands and Resources
  app                Manage applications within the OpenShift account.
  app                Commands for creating and managing applications
  cartridge          Manage your application cartridges
  domain             Manage the domain and namespace for your applications.
  port-forward       Forward remote ports to the workstation
  server             Display information about the status of the OpenShift service.
  setup              Easy to use wizard for getting started with OpenShift.
  snapshot           Pull down application snapshot for a user.
  sshkey             Manage multiple keys for the registered rhcloud user.
  threaddump         Trigger a thread dump for JBossAS, JBossEAP, and Ruby applications.

Global Options
  -l, --rhlogin login       OpenShift login
  -p, --password password   OpenShift password
  -d, --debug               Turn on debugging
  --noprompt                Do not ask for input
  --config FILE             Path of a different config file
  -h, --help                Display help documentation
  -v, --version             Display version information
  -t, --trace               Display backtrace when an error occurs

See 'rhc help <resource>' for more specifics on each resource or command.


Expected results:
Should not have two app commands listed.

Additional info:

Comment 1 John (J5) Palmieri 2012-09-27 23:17:43 UTC
removed the legacy help bits

Comment 2 Wei Sun 2012-09-28 02:14:38 UTC
verified on fork_ami_US2597_US2599_US2813_US2817_US2872_173

step:
1.rhc -h

Result:
[sunwei@dhcp-8-229 ~]$ rhc -h
Usage: rhc (<resource> | --help) [<action>] [<args>]
Command line interface for OpenShift.

List of Commands and Resources
  app                Commands for creating and managing applications
  cartridge          Manage your application cartridges
  domain             Manage the domain and namespace for your applications.
  port-forward       Forward remote ports to the workstation
  server             Display information about the status of the OpenShift service.
  setup              Easy to use wizard for getting started with OpenShift.
  snapshot           Pull down application snapshot for a user.
  sshkey             Manage multiple keys for the registered rhcloud user.
  threaddump         Trigger a thread dump for JBossAS, JBossEAP, and Ruby applications.

Global Options
  -l, --rhlogin login       OpenShift login
  -p, --password password   OpenShift password
  -d, --debug               Turn on debugging
  --noprompt                Do not ask for input
  --config FILE             Path of a different config file
  -h, --help                Display help documentation
  -v, --version             Display version information
  --trace                   Display backtrace when an error occurs
  --timeout                 Set the timeout in seconds for network commands

See 'rhc help <resource>' for more specifics on each resource or command.


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