Fix error with InputOption in BuildCommand definition
This commit is contained in:
parent
d2b2a18237
commit
c95eddec25
|
@ -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')
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue