From c95eddec25f81286c6370e0bf02be68e14b2282a Mon Sep 17 00:00:00 2001 From: William DURAND Date: Fri, 21 Jan 2011 19:36:24 +0100 Subject: [PATCH] Fix error with InputOption in BuildCommand definition --- Command/BuildCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Command/BuildCommand.php b/Command/BuildCommand.php index 4187406..b457f54 100644 --- a/Command/BuildCommand.php +++ b/Command/BuildCommand.php @@ -38,8 +38,8 @@ class BuildCommand extends PhingCommand ->setDescription('Hub for Propel build commands (model, sql)') ->setDefinition(array( - new InputOption('--classes', '', InputOption::PARAMETER_NONE, 'Build only classes'), - new InputOption('--sql', '', InputOption::PARAMETER_NONE, 'Build only code'), + new InputOption('--classes', '', InputOption::VALUE_NONE, 'Build only classes'), + new InputOption('--sql', '', InputOption::VALUE_NONE, 'Build only code'), )) ->setName('propel:build') ;