Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adding help info for bake connection parameter, closes #1679

  • Loading branch information...
commit 5329c188d60367c928f30471d369d36976c62a7b 1 parent 1f473f5
@ceeram ceeram authored
View
5 cake/console/libs/tasks/controller.php
@@ -454,6 +454,11 @@ function help() {
$this->out("\tName of the controller to bake. Can use Plugin.name");
$this->out("\tas a shortcut for plugin baking.");
$this->out();
+ $this->out('Params:');
+ $this->out();
+ $this->out('-connection <config>');
+ $this->out("\tset db config <config>. uses 'default' if none is specified");
+ $this->out();
$this->out('Commands:');
$this->out();
$this->out("controller <name>");
View
5 cake/console/libs/tasks/model.php
@@ -898,6 +898,11 @@ function help() {
$this->out("\tName of the model to bake. Can use Plugin.name");
$this->out("\tas a shortcut for plugin baking.");
$this->out();
+ $this->out('Params:');
+ $this->out();
+ $this->out('-connection <config>');
+ $this->out("\tset db config <config>. uses 'default' if none is specified");
+ $this->out();
$this->out('Commands:');
$this->out();
$this->out("model");
Please sign in to comment.
Something went wrong with that request. Please try again.