瀏覽代碼

[FrameworkBundle] fixed help for cache:warmup

Fabien Potencier 14 年之前
父節點
當前提交
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
             )
         ;