diff --git a/src/Symfony/Bundle/DoctrineBundle/Command/GenerateEntitiesDoctrineCommand.php b/src/Symfony/Bundle/DoctrineBundle/Command/GenerateEntitiesDoctrineCommand.php index b16287170c..275f770d17 100644 --- a/src/Symfony/Bundle/DoctrineBundle/Command/GenerateEntitiesDoctrineCommand.php +++ b/src/Symfony/Bundle/DoctrineBundle/Command/GenerateEntitiesDoctrineCommand.php @@ -37,11 +37,11 @@ The doctrine:generate:entities command generates entity classes and 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