[DoctrineBundle] Fixed doctrine:generate:entities help message

This commit is contained in:
Christophe Coevoet 2011-02-02 00:28:00 +01:00 committed by Fabien Potencier
parent 4e0db56810
commit de401fd94c

View File

@ -37,11 +37,11 @@ The <info>doctrine:generate:entities</info> command generates entity classes and
You have to limit generation of entities to an individual bundle:
<info>./app/console doctrine:generate:entities --bundle="MyCustomBundle"</info>
<info>./app/console doctrine:generate:entities MyCustomBundle</info>
Alternatively, you can limit generation to a single entity within a bundle:
<info>./app/console doctrine:generate:entities --bundle="MyCustomBundle" --entity="User"</info>
<info>./app/console doctrine:generate:entities "MyCustomBundle" --entity="User"</info>
You have to specifiy the shortname (without namespace) of the entity you want to filter for.
EOT