Bug 789928

Summary: Inconsistent auto_completion options following rhc app cartridge [add..stop]
Product: OKD Reporter: Xiaoli Tian <xtian>
Component: ocAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.x   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhc-0.86.4-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-17 02:06:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.