From de401fd94c5e9650def2e199b79866bbb658090a Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Wed, 2 Feb 2011 00:28:00 +0100 Subject: [PATCH] [DoctrineBundle] Fixed doctrine:generate:entities help message --- .../Command/GenerateEntitiesDoctrineCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Bundle/DoctrineBundle/Command/GenerateEntitiesDoctrineCommand.php b/src/Symfony/Bundle/DoctrineBundle/Command/GenerateEntitiesDoctrineCommand.php index b16287170cae..275f770d1733 100644 --- a/src/Symfony/Bundle/DoctrineBundle/Command/GenerateEntitiesDoctrineCommand.php +++ b/src/Symfony/Bundle/DoctrineBundle/Command/GenerateEntitiesDoctrineCommand.php @@ -37,11 +37,11 @@ protected function configure() You have to limit generation of entities to an individual bundle: - ./app/console doctrine:generate:entities --bundle="MyCustomBundle" + ./app/console doctrine:generate:entities MyCustomBundle Alternatively, you can limit generation to a single entity within a bundle: - ./app/console doctrine:generate:entities --bundle="MyCustomBundle" --entity="User" + ./app/console doctrine:generate:entities "MyCustomBundle" --entity="User" You have to specifiy the shortname (without namespace) of the entity you want to filter for. EOT