Skip to content

Commit

Permalink
Adding help() entry for bake view all
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 5, 2009
1 parent 0099c8a commit 3d39fee
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cake/console/libs/tasks/view.php
Expand Up @@ -405,7 +405,7 @@ function help() {
$this->out("view <controller>");
$this->out("\twill read the given controller for methods");
$this->out("\tand bake corresponding views.");
$this->out("\tIf var scaffold is found it will bake the scaffolded actions");
$this->out("\tIf var scaffold is found it will bake the CRUD actions");
$this->out("\t(index,view,add,edit)");
$this->out('');
$this->out("view <controller> <action>");
Expand All @@ -414,7 +414,10 @@ function help() {
$this->out("view <controller> <template> <alias>");
$this->out("\twill use the template specified");
$this->out("\tbut name the file based on the alias");
$this->out("");
$this->out('');
$this->out("view all");
$this->out("\tBake all CRUD action views for all controllers.");
$this->out("\tRequires that models and controllers exist.");
$this->_stop();
}

Expand Down

0 comments on commit 3d39fee

Please sign in to comment.