Bug 789928 - Inconsistent auto_completion options following rhc app cartridge [add..stop]
Summary: Inconsistent auto_completion options following rhc app cartridge [add..stop]
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 1.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-13 10:00 UTC by Xiaoli Tian
Modified: 2012-02-17 02:06 UTC (History)
0 users

Fixed In Version: rhc-0.86.4-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-17 02:06:49 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Xiaoli Tian 2012-02-13 10:00:55 UTC
Description of problem:
While trying to enter "tab" to auto complete the command line :

rhc app cartridge add|list|reload|remove|restart|start|status|stop ,

It will return appending with a single "-" like following :

rhc app cartridge add -
                      ^^ single bash here
  
-app   --cartridge  --config     --debug      --help  --password   --rhlogin 
^^ single bash here too
   --timeout

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

rhc-0.86.2-1.git.6.7abb94f.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1.Try to auto complete the command with tab

  
Actual results:
It's not consistent with rhc app create + tab +


Expected results:
It should keep consistent and autocompeted with 2 "-"

Additional info:

Comment 1 Abhishek Gupta 2012-02-13 17:55:38 UTC
This was a typo that also affected these two other commands:

rhc app snapshot -
rhc app tail -

These have all been fixed now.

Comment 2 Xiaoli Tian 2012-02-14 05:49:50 UTC
(In reply to comment #1)
Verified it on devenv_1608 with rhc-0.86.5-1.el6_2.noarch,it's fixed.


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