Bug 860976 - [US2814][fork]Have not the list of action in rhc alias --help
Summary: [US2814][fork]Have not the list of action in rhc alias --help
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: chris alfonso
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-27 08:55 UTC by Wei Sun
Modified: 2016-02-01 02:35 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Wei Sun 2012-09-27 08:55:22 UTC
Description of problem:
run "rhc alias --help",have not the list of action, "add" and "remove" actions should be listed.

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

How reproducible:
always

Steps to Reproduce:
1.rhc alias --help
2.
3.
  
Actual results:
[sunwei@dhcp-8-229 dev]$ rhc alias --help
Usage: rhc alias <command> <application> <alias> [--namespace namespace]

Add or remove a custom domain name for the application

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

Expected results:
"add" and "remove" commands should be listed.
Such as:

List of Actions
add  add the alias to the application
remove remove the alias from the application

Additional info:

Comment 1 chris alfonso 2012-09-27 20:22:20 UTC
https://github.com/J5/rhc/pull/12

This code is currently in my master and commands-merge-master branch
https://github.com/calfonso/rhc

Once the pull request is processed, J5's fork will have my changes.  Feel free to test the fixes from my fork as well.

Comment 2 Wei Sun 2012-09-28 09:21:37 UTC
verified on devenv_2248, and building  rhc package using repo git:calfonso/rhc.git

step:
1.rhc alias --help

Result:

OpenShiftmatoMacBook-Pro:client OpenShift$ rhc alias --help
Usage: rhc alias <command> <application> <alias> [--namespace namespace]

Add or remove a custom domain name for the application

List of Actions
  remove             Remove a custom domain name for the application
  add                Add a custom domain name for the application

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


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