Fix error with InputOption in BuildCommand definition

This commit is contained in:
William DURAND 2011-01-21 19:36:24 +01:00
parent d2b2a18237
commit c95eddec25

View file

@ -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')
;