Browse Source

Added missing 'write' param for schema dump shell. Fixes #2179.

Majna 14 years ago
parent
commit
14efc4daae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Console/Command/SchemaShell.php

+ 1 - 1
lib/Cake/Console/Command/SchemaShell.php

@@ -498,7 +498,7 @@ class SchemaShell extends Shell {
 		))->addSubcommand('dump', array(
 			'help' => __d('cake_console', 'Dump database SQL based on a schema file to stdout.'),
 			'parser' => array(
-				'options' => compact('plugin', 'path', 'file', 'name', 'connection'),
+				'options' => compact('plugin', 'path', 'file', 'name', 'connection', 'write'),
 				'arguments' => compact('name')
 			)
 		))->addSubcommand('create', array(