Browse Source

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

Simon Males 14 years ago
parent
commit
adc6846145
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/Cake/Console/Command/SchemaShell.php

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

@@ -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;
 	}
-}
+}