schema update fails with -f flag, although it's supported.

This commit is contained in:
Simon Males 2012-01-05 16:54:02 +11:00
parent 95ec741b6c
commit adc6846145

View file

@ -522,7 +522,7 @@ class SchemaShell extends AppShell {
))->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.')
@ -535,4 +535,4 @@ class SchemaShell extends AppShell {
));
return $parser;
}
}
}