Skip to content
This repository

Console help text #482

Closed
wants to merge 1 commit into from

2 participants

Carl Sutton Mark Story
Mark Story
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.

Mark Story markstory closed this March 04, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Feb 16, 2012
Carl Sutton making the help commands camelcase, bit confusing when everything is …
…camelcase but not shell commands
44971f6
This page is out of date. Refresh to see the latest.
2  lib/Cake/Console/ConsoleOptionParser.php
@@ -223,7 +223,7 @@ public static function buildFromArray($spec) {
223 223
  */
224 224
 	public function command($text = null) {
225 225
 		if ($text !== null) {
226  
-			$this->_command = Inflector::underscore($text);
  226
+			$this->_command = Inflector::camelize($text);
227 227
 			return $this;
228 228
 		}
229 229
 		return $this->_command;
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.