Skip to content

Commit

Permalink
Reformatting help()
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed May 30, 2009
1 parent 9967b10 commit 03e7ca7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cake/console/libs/tasks/fixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,9 @@ function help() {
$this->out("\nfixture all\n\tbakes all fixtures.");
$this->out("");
$this->out('Parameters:');
$this->out("\t-count The number of records to include in the fixture(s).");
$this->out("\t-connection Which database configuration to use for baking.");
$this->out("\t-plugin lowercased_underscored name of plugin to bake fixtures for.");
$this->out("\t-count The number of records to include in the fixture(s).");
$this->out("\t-connection Which database configuration to use for baking.");
$this->out("\t-plugin lowercased_underscored name of plugin to bake fixtures for.");
$this->out("");
$this->_stop();
}
Expand Down
16 changes: 13 additions & 3 deletions cake/console/libs/tasks/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,19 @@ function help() {
$this->out("Usage: cake bake view <arg1> <arg2>...");
$this->hr();
$this->out('Commands:');
$this->out("\n\tview <controller>\n\t\twill read the given controller for methods\n\t\tand bake corresponding views.\n\t\tIf var scaffold is found it will bake the scaffolded actions\n\t\t(index,view,add,edit)");
$this->out("\n\tview <controller> <action>\n\t\twill bake a template. core templates: (index, add, edit, view)");
$this->out("\n\tview <controller> <template> <alias>\n\t\twill use the template specified but name the file based on the alias");
$this->out('');
$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("\t(index,view,add,edit)");
$this->out('');
$this->out("view <controller> <action>");
$this->out("\twill bake a template. core templates: (index, add, edit, view)");
$this->out('');
$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->_stop();
}
Expand Down

0 comments on commit 03e7ca7

Please sign in to comment.