From d7b917aa499b24102a928f5204860f31d229fb44 Mon Sep 17 00:00:00 2001 From: Wouter J Date: Sun, 9 Feb 2014 15:10:00 +0100 Subject: [PATCH] Fixed InputOption modes --- .../ORM/Tools/Console/Command/GenerateEntitiesCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/ORM/Tools/Console/Command/GenerateEntitiesCommand.php b/lib/Doctrine/ORM/Tools/Console/Command/GenerateEntitiesCommand.php index 61d226999..bca32b7ec 100644 --- a/lib/Doctrine/ORM/Tools/Console/Command/GenerateEntitiesCommand.php +++ b/lib/Doctrine/ORM/Tools/Console/Command/GenerateEntitiesCommand.php @@ -74,11 +74,11 @@ class GenerateEntitiesCommand extends Command 'Flag to define if generator should only update entity if it exists.', true ), new InputOption( - 'extend', null, InputOption::VALUE_OPTIONAL, + 'extend', null, InputOption::VALUE_REQUIRED, 'Defines a base class to be extended by generated entity classes.' ), new InputOption( - 'num-spaces', null, InputOption::VALUE_OPTIONAL, + 'num-spaces', null, InputOption::VALUE_REQUIRED, 'Defines the number of indentation spaces', 4 ), new InputOption(