[DoctrineBundle] Fix data:load command (--append w/o value)

This commit is contained in:
Krzysztof Menżyk 2011-04-19 14:40:27 +02:00
parent 2014ff6856
commit f1ab7da36f

View File

@ -40,7 +40,7 @@ class LoadDataFixturesDoctrineCommand extends DoctrineCommand
->setName('doctrine:data:load')
->setDescription('Load data fixtures to your database.')
->addOption('fixtures', null, InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY, 'The directory or file to load data fixtures from.')
->addOption('append', null, InputOption::VALUE_OPTIONAL, 'Whether or not to append the data fixtures.', false)
->addOption('append', null, InputOption::VALUE_NONE, 'Append the data fixtures instead of flushing the database first.')
->addOption('em', null, InputOption::VALUE_REQUIRED, 'The entity manager to use for this command.')
->setHelp(<<<EOT
The <info>doctrine:data:load</info> command loads data fixtures from your bundles: