Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Console help text #482

Closed
wants to merge 1 commit into from

2 participants

@markstory
Owner

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 authored
    …camelcase but not shell commands
This page is out of date. Refresh to see the latest.
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.