Bug 980705

Summary: Wrong option mark is used for the help content of "rhc cartridge add"
Product: OpenShift Online Reporter: Qiushui Zhang <qiuzhang>
Component: ocAssignee: Clayton Coleman <ccoleman>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 2.xCC: xtian
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: 2013-07-09 05:09:17 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:
Embargoed:

Description Qiushui Zhang 2013-07-03 05:16:54 UTC
Description of problem:
In the help of "rhc cartridge add", "[]" is used for "--app NAME", which is a REQUIRED option. It should be "<>".

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

How reproducible:
Always

Steps to Reproduce:
1.Type "rhc cartridge add --help"
2.Check the help content. 


Actual results:
"[--app NAME]" is shown. While this is a REQUIRED option.

Expected results:
"< >" should be used.

Additional info:
This issue also happens to other "rhc cartridge" options, e.g. remove, show, start, etc.

Comment 1 Clayton Coleman 2013-07-09 05:09:17 UTC
It's optional today because if you are in the git repository for the app, app name and domain name are read from the git repository.