diff --git a/lib/Cake/Console/Command/SchemaShell.php b/lib/Cake/Console/Command/SchemaShell.php index 2705ffb8950..259391223b6 100644 --- a/lib/Cake/Console/Command/SchemaShell.php +++ b/lib/Cake/Console/Command/SchemaShell.php @@ -498,7 +498,7 @@ public function getOptionParser() { ))->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(