Skip to content

Commit

Permalink
Added missing 'write' param for schema dump shell. Fixes #2179.
Browse files Browse the repository at this point in the history
  • Loading branch information
majna committed Oct 28, 2011
1 parent 4742168 commit 14efc4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Console/Command/SchemaShell.php
Expand Up @@ -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(
Expand Down

0 comments on commit 14efc4d

Please sign in to comment.