Browse Source

Remove expanded help.

It got formatted stupidly by the HelpFormatter. I can revisit this once
that class is less silly.
mark_story 12 years ago
parent
commit
28b5bf24ce
1 changed files with 3 additions and 14 deletions
  1. 3 14
      src/Console/Command/Task/ViewTask.php

+ 3 - 14
src/Console/Command/Task/ViewTask.php

@@ -417,20 +417,9 @@ class ViewTask extends BakeTask {
 	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)")