Skip to content

Commit

Permalink
Remove expanded help.
Browse files Browse the repository at this point in the history
It got formatted stupidly by the HelpFormatter. I can revisit this once
that class is less silly.
  • Loading branch information
markstory committed Mar 26, 2014
1 parent 345c4e6 commit 28b5bf2
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions src/Console/Command/Task/ViewTask.php
Expand Up @@ -417,20 +417,9 @@ public function getTemplate($action) {
public function getOptionParser() {
$parser = parent::getOptionParser();

$parser->description([
__d('cake_console', 'Bake views for a controller, using built-in or custom templates.'),
__d('cake_console', 'You can bake all the views for a controller using: '),
'',
__d('cake_console', ' Console/cake bake view Tasks'),
'',
__d('cake_console', 'You can bake a single view using:'),
'',
__d('cake_console', ' Console/cake bake view Tasks index'),
'',
__d('cake_console', 'You can bake a single view for all controllers using:'),
'',
__d('cake_console', ' Console/cake bake view all index')
])->addArgument('controller', [
$parser->description(
__d('cake_console', 'Bake views for a controller, using built-in or custom templates. ')
)->addArgument('controller', [
'help' => __d('cake_console', 'Name of the controller views to bake. Can be Plugin.name as a shortcut for plugin baking.')
])->addArgument('action', [
'help' => __d('cake_console', "Will bake a single action's file. core templates are (index, add, edit, view)")
Expand Down

0 comments on commit 28b5bf2

Please sign in to comment.