Skip to content

Commit

Permalink
merged branch hhamon/commands_description_fixes (PR #3065)
Browse files Browse the repository at this point in the history
Commits
-------

96425b0 [SwiftmailerBundle] harmonized commands descriptions.
7eb1c43 [FrameworkBundle] harmonized commands descriptions.
0829094 [DoctrineBundle] harmonized commands descriptions.

Discussion
----------

Commands description fixes
  • Loading branch information
fabpot committed Jan 9, 2012
2 parents 21993aa + 96425b0 commit b7a8f6d
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
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
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
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
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
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
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
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
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
Expand Up @@ -35,7 +35,7 @@ protected function configure()
new InputArgument('target', InputArgument::REQUIRED, 'The target directory (usually "web")'),
))
->addOption('symlink', null, InputOption::VALUE_NONE, 'Symlinks the assets instead of copying it')
->setDescription('Install bundles web assets under a public web directory')
->setDescription('Installs bundles web assets under a public web directory')
->setHelp(<<<EOT
The <info>assets:install</info> command installs bundle assets into a given
directory (e.g. the web directory).
Expand Down
Expand Up @@ -37,7 +37,7 @@ protected function configure()
->setDefinition(array(
new InputOption('no-warmup', '', InputOption::VALUE_NONE, 'Do not warm up the cache'),
))
->setDescription('Clear the cache')
->setDescription('Clears the cache')
->setHelp(<<<EOF
The <info>cache:clear</info> command clears the application cache for a given environment
and debug mode:
Expand Down
Expand Up @@ -31,7 +31,7 @@ protected function configure()
{
$this
->setName('swiftmailer:spool:send')
->setDescription('Send emails from the spool')
->setDescription('Sends emails from the spool')
->addOption('message-limit', 0, InputOption::VALUE_OPTIONAL, 'The maximum number of messages to send.')
->addOption('time-limit', 0, InputOption::VALUE_OPTIONAL, 'The time limit for sending messages (in seconds).')
->setHelp(<<<EOF
Expand Down

0 comments on commit b7a8f6d

Please sign in to comment.