Skip to content

Commit

Permalink
schema update fails with -f flag, although it's supported.
Browse files Browse the repository at this point in the history
  • Loading branch information
sime committed Jan 5, 2012
1 parent 95ec741 commit adc6846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Console/Command/SchemaShell.php
Expand Up @@ -522,7 +522,7 @@ public function getOptionParser() {
))->addSubcommand('update', array(
'help' => __d('cake_console', 'Alter the tables based on the schema file.'),
'parser' => array(
'options' => compact('plugin', 'path', 'file', 'name', 'connection', 'dry', 'snapshot'),
'options' => compact('plugin', 'path', 'file', 'name', 'connection', 'dry', 'snapshot', 'force'),
'args' => array(
'name' => array(
'help' => __d('cake_console', 'Name of schema to use.')
Expand All @@ -535,4 +535,4 @@ public function getOptionParser() {
));
return $parser;
}
}
}

0 comments on commit adc6846

Please sign in to comment.