Description of problem: when use "rhc app cartridge" with invalid cartridge types, will return inconsistent error message which match for the old CLI "rhc-ctl-app -e". Version-Release number of selected component (if applicable): rhc-0.94.3 How reproducible: always Steps to Reproduce: 1.create an app 2.try to embed invalid cartridge to the app 3. Actual results: [root@F17i386-openshift ~]# rhc app cartridge add -a php1 -c ttt Password: Problem reported from server. Response code was 400. Re-run with -d for more information. RESULT: Invalid type (-e|--embed) specified: 'ttt'. Valid embedded types are xxxxxx. ^^^^^^^^^^^^ Expected results: should be (-c|--cartridge) Additional info:
Checked on rhc-0.94.5, issue has been fixed. ======== RESULT: Invalid type (-c|--cartridge) specified: 'xxx'. Valid cartridge types are (mongodb-2.0, cron-1.4, mysql-5.1, postgresql-8.4, haproxy-1.4, 10gen-mms-agent-0.1, phpmyadmin-3.4, metrics-0.1, phpmoadmin-1.0, rockmongo-1.1, jenkins-client-1.4).