فهرست منبع

merged branch weaverryan/patch-1 (PR #1865)

Commits
-------

b8ee401 Making the english smoother in command help description

Discussion
----------

Making the english smoother in command help description

Pretty simple :)

Thanks!
Fabien Potencier 14 سال پیش
والد
کامیت
e136718ed6
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      src/Symfony/Bundle/DoctrineBundle/Command/GenerateEntitiesDoctrineCommand.php

+ 3 - 2
src/Symfony/Bundle/DoctrineBundle/Command/GenerateEntitiesDoctrineCommand.php

@@ -60,8 +60,9 @@ you must provide the <comment>--path</comment> option:
 
   <info>php app/console doctrine:generate:entities Blog/Entity --path=src/</info>
 
-You should provide the <comment>--no-backup</comment> option if you don't mind to back up files
-before to generate entities:
+By default, the unmodified version of each entity is backed up and saved
+(e.g. Product.php~). To prevent this task from creating the backup file,
+pass the <comment>--no-backup</comment> option:
 
   <info>php app/console doctrine:generate:entities Blog/Entity --no-backup</info>