Permalink
Browse files

Reformatting help()

  • Loading branch information...
1 parent 9967b10 commit 03e7ca71b6ed8ffd019ee37f7d1f31097b63f159 @markstory markstory committed May 30, 2009
Showing with 16 additions and 6 deletions.
  1. +3 −3 cake/console/libs/tasks/fixture.php
  2. +13 −3 cake/console/libs/tasks/view.php
@@ -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();
}
@@ -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();
}

0 comments on commit 03e7ca7

Please sign in to comment.