Permalink
Browse files

making the help commands camelcase, bit confusing when everything is …

…camelcase but not shell commands
  • Loading branch information...
1 parent ed445d8 commit 44971f6925762763c10a50a2d9a02c4c8b721639 @dogmatic69 committed Feb 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Console/ConsoleOptionParser.php
@@ -223,7 +223,7 @@ public static function buildFromArray($spec) {
*/
public function command($text = null) {
if ($text !== null) {
- $this->_command = Inflector::underscore($text);
+ $this->_command = Inflector::camelize($text);
return $this;
}
return $this->_command;

0 comments on commit 44971f6

Please sign in to comment.