Ver Fonte

merged branch paulkamer/master (PR #1520)

Commits
-------

924ea92 made command consistent with other help texts (it's now './app/console', instead of 'php app/console')
8361346 Corrected help text from './symfony' to 'php app/console'

Discussion
----------

[console] Incorrect help text

When executing 'php app/console help', example commands starting with './symfony ' are shown.
I've made it consistent with the help text shown for generate:bundle; './app/console '
Fabien Potencier há 14 anos atrás
pai
commit
f12edc3775

+ 2 - 2
src/Symfony/Component/Console/Command/HelpCommand.php

@@ -44,11 +44,11 @@ class HelpCommand extends Command
             ->setHelp(<<<EOF
 The <info>help</info> command displays help for a given command:
 
-  <info>./symfony help list</info>
+  <info>./app/console help list</info>
 
 You can also output the help as XML by using the <comment>--xml</comment> option:
 
-  <info>./symfony help --xml list</info>
+  <info>./app/console help --xml list</info>
 EOF
             );
     }

+ 3 - 3
src/Symfony/Component/Console/Command/ListCommand.php

@@ -40,15 +40,15 @@ class ListCommand extends Command
             ->setHelp(<<<EOF
 The <info>list</info> command lists all commands:
 
-  <info>./symfony list</info>
+  <info>./app/console list</info>
 
 You can also display the commands for a specific namespace:
 
-  <info>./symfony list test</info>
+  <info>./app/console list test</info>
 
 You can also output the information as XML by using the <comment>--xml</comment> option:
 
-  <info>./symfony list --xml</info>
+  <info>./app/console list --xml</info>
 EOF
             );
     }