1
0
mirror of synced 2025-03-21 23:43:53 +03:00

Merge pull request #944 from WouterJ/patch-1

Fixed InputOption modes
This commit is contained in:
Benjamin Eberlei 2014-02-09 15:43:14 +01:00
commit 288953aa6d

View File

@ -74,11 +74,11 @@ class GenerateEntitiesCommand extends Command
'Flag to define if generator should only update entity if it exists.', true 'Flag to define if generator should only update entity if it exists.', true
), ),
new InputOption( new InputOption(
'extend', null, InputOption::VALUE_OPTIONAL, 'extend', null, InputOption::VALUE_REQUIRED,
'Defines a base class to be extended by generated entity classes.' 'Defines a base class to be extended by generated entity classes.'
), ),
new InputOption( new InputOption(
'num-spaces', null, InputOption::VALUE_OPTIONAL, 'num-spaces', null, InputOption::VALUE_REQUIRED,
'Defines the number of indentation spaces', 4 'Defines the number of indentation spaces', 4
), ),
new InputOption( new InputOption(