Bug 1035632

Summary: rhc sshkeys/envs should show the sshkey/env list as other commands
Product: OpenShift Online Reporter: Meng Bo <bmeng>
Component: ocAssignee: Fabiano Franz <ffranz>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: ffranz, wjiang
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: 2014-10-10 00:46:41 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:

Description Meng Bo 2013-11-28 08:52:01 UTC
Description of problem:
For most of the rhc commands, like rhc cartridge, rhc domain, rhc authorization, etc. It will treat the plural form as the list function. Eg, rhc cartridges will list the cartridges same as rhc cartridge list.

But the rhc sshkey and rhc env do not support this.

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

How reproducible:
always

Steps to Reproduce:
1. Install latest rhc client
2. Generate the auto complete bash via rhc setup
3. Source the bash
4. rhc sshkeys / rhc envs

Actual results:
The commands in step4 are not supported.

Expected results:
Should support the plural form for the commands.

Additional info:

Comment 1 Fabiano Franz 2014-07-11 19:38:20 UTC
Fixed in https://github.com/openshift/rhc/pull/623

Comment 2 openshift-github-bot 2014-07-12 01:16:55 UTC
Commit pushed to master at https://github.com/openshift/rhc

https://github.com/openshift/rhc/commit/555a1d9f8b7286f938612c3ebe3a0d0a094a1053
Bug 1035632 - added plural version to rhc env and rhc sshkey commands

Comment 3 weiwei jiang 2014-07-14 05:19:13 UTC
Checked with the latest code, and can not reproduce this issue, so verify this.