From dd8c42df385189fa80d78193ee57a12d0b213e2e Mon Sep 17 00:00:00 2001 From: William DURAND Date: Tue, 19 Apr 2011 13:57:49 +0200 Subject: [PATCH] Added option 'connection' to fix the build command --- Command/BuildCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Command/BuildCommand.php b/Command/BuildCommand.php index d5fa5dd..8f22bcd 100644 --- a/Command/BuildCommand.php +++ b/Command/BuildCommand.php @@ -41,6 +41,7 @@ class BuildCommand extends PhingCommand new InputOption('--classes', '', InputOption::VALUE_NONE, 'Build only classes'), new InputOption('--sql', '', InputOption::VALUE_NONE, 'Build only code'), new InputOption('--insert-sql', '', InputOption::VALUE_NONE, 'Build all and insert SQL'), + new InputOption('connection', null, InputOption::VALUE_OPTIONAL, 'Set this parameter to define a connection to use') )) ->setName('propel:build'); }