Просмотр исходного кода

[FrameworkBundle] fixed help for cache:warmup

Fabien Potencier 14 лет назад
Родитель
Сommit
e520956624
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      src/Symfony/Bundle/FrameworkBundle/Command/CacheWarmupCommand.php

+ 3 - 3
src/Symfony/Bundle/FrameworkBundle/Command/CacheWarmupCommand.php

@@ -37,12 +37,12 @@ class CacheWarmupCommand extends Command
             ->setName('cache:warmup')
             ->setDescription('Warms up an empty cache')
             ->setDefinition(array(
-                new InputOption('warmup-dir', '', InputOption::VALUE_OPTIONAL, 'Warms up the cache in a specific directory')
+                new InputOption('warmup-dir', '', InputOption::VALUE_OPTIONAL, 'Warms up the cache in the specified directory')
             ))
             ->setHelp(<<<EOF
-The <info>cache:warmup --warmup-dir=new_cache</info> command warms up the cache.
+The <info>cache:warmup</info> command warms up the cache.
 
-Before running this command, the cache must be empty if not use warmup-dir option.
+Before running this command, the cache must be empty.
 EOF
             )
         ;