Skip to content

Commit

Permalink
adding help info for bake connection parameter, closes #1679
Browse files Browse the repository at this point in the history
  • Loading branch information
ceeram committed May 6, 2011
1 parent 1f473f5 commit 5329c18
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cake/console/libs/tasks/controller.php
Expand Up @@ -454,6 +454,11 @@ function help() {
$this->out("\tName of the controller to bake. Can use Plugin.name"); $this->out("\tName of the controller to bake. Can use Plugin.name");
$this->out("\tas a shortcut for plugin baking."); $this->out("\tas a shortcut for plugin baking.");
$this->out(); $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('Commands:');
$this->out(); $this->out();
$this->out("controller <name>"); $this->out("controller <name>");
Expand Down
5 changes: 5 additions & 0 deletions cake/console/libs/tasks/model.php
Expand Up @@ -898,6 +898,11 @@ function help() {
$this->out("\tName of the model to bake. Can use Plugin.name"); $this->out("\tName of the model to bake. Can use Plugin.name");
$this->out("\tas a shortcut for plugin baking."); $this->out("\tas a shortcut for plugin baking.");
$this->out(); $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('Commands:');
$this->out(); $this->out();
$this->out("model"); $this->out("model");
Expand Down

0 comments on commit 5329c18

Please sign in to comment.