Skip to content

Loading…

Console help text #482

Closed
wants to merge 1 commit into from

2 participants

@markstory
CakePHP member

Closing, currently everything is underscored in the help text. This would make the help a bit inconsistent, and both camel/underscored are accepted anyways.

@markstory markstory closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 16, 2012
  1. @dogmatic69

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

    dogmatic69 committed
    …camelcase but not shell commands
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Console/ConsoleOptionParser.php
View
2 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;
Something went wrong with that request. Please try again.