Skip to content

Commit

Permalink
[DoctrineBundle] harmonized commands descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Hamon committed Jan 9, 2012
1 parent 21993aa commit 0829094
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ protected function configure()
{
$this
->setName('doctrine:database:create')
->setDescription('Create the configured databases')
->setDescription('Creates the configured databases')
->addOption('connection', null, InputOption::VALUE_OPTIONAL, 'The connection to use for this command')
->setHelp(<<<EOT
The <info>doctrine:database:create</info> command creates the default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ protected function configure()
{
$this
->setName('doctrine:database:drop')
->setDescription('Drop the configured databases')
->setDescription('Drops the configured databases')
->addOption('connection', null, InputOption::VALUE_OPTIONAL, 'The connection to use for this command')
->addOption('force', null, InputOption::VALUE_NONE, 'Set this parameter to execute this action')
->setHelp(<<<EOT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected function configure()
$this
->setName('doctrine:generate:entities')
->setAliases(array('generate:doctrine:entities'))
->setDescription('Generate entity classes and method stubs from your mapping information')
->setDescription('Generates entity classes and method stubs from your mapping information')
->addArgument('name', InputArgument::REQUIRED, 'A bundle name, a namespace, or a class name')
->addOption('path', null, InputOption::VALUE_REQUIRED, 'The path where to generate entities when it cannot be guessed')
->addOption('no-backup', null, InputOption::VALUE_NONE, 'Do not backup existing entities files.')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ protected function configure()
->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command')
->addOption('filter', null, InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'A string pattern used to match entities that should be mapped.')
->addOption('force', null, InputOption::VALUE_NONE, 'Force to overwrite existing mapping files.')
->setDescription('Import mapping information from an existing database')
->setDescription('Imports mapping information from an existing database')
->setHelp(<<<EOT
The <info>doctrine:mapping:import</info> command imports mapping information
from an existing database:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ protected function configure()
$this
->setName('doctrine:mapping:info')
->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command')
->setDescription('Show basic information about all mapped entities')
->setDescription('Shows basic information about all mapped entities')
->setHelp(<<<EOT
The <info>doctrine:mapping:info</info> shows basic information about which
entities exist and possibly if their mapping information contains errors or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected function configure()

$this
->setName('doctrine:cache:clear-metadata')
->setDescription('Clear all metadata cache for a entity manager')
->setDescription('Clears all metadata cache for a entity manager')
->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command')
->setHelp(<<<EOT
The <info>doctrine:cache:clear-metadata</info> command clears all metadata
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected function configure()

$this
->setName('doctrine:cache:clear-query')
->setDescription('Clear all query cache for a entity manager')
->setDescription('Clears all query cache for a entity manager')
->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command')
->setHelp(<<<EOT
The <info>doctrine:cache:clear-query</info> command clears all query cache for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected function configure()

$this
->setName('doctrine:cache:clear-result')
->setDescription('Clear result cache for a entity manager')
->setDescription('Clears result cache for a entity manager')
->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command')
->setHelp(<<<EOT
The <info>doctrine:cache:clear-result</info> command clears all result cache
Expand Down

0 comments on commit 0829094

Please sign in to comment.