From adc6846145f202991929b80693190ca4d52f9441 Mon Sep 17 00:00:00 2001 From: Simon Males Date: Thu, 5 Jan 2012 16:54:02 +1100 Subject: [PATCH] schema update fails with -f flag, although it's supported. --- lib/Cake/Console/Command/SchemaShell.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Console/Command/SchemaShell.php b/lib/Cake/Console/Command/SchemaShell.php index 06c2da394..8fe7a76b1 100644 --- a/lib/Cake/Console/Command/SchemaShell.php +++ b/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; } -} \ No newline at end of file +}