Explorar el Código

[Console] harmonized commands documentation by changing ./app/console to php app/console.

Hugo Hamon hace 14 años
padre
commit
f2e4d35931

+ 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>./app/console help list</info>
+  <info>php app/console help list</info>
 
 You can also output the help as XML by using the <comment>--xml</comment> option:
 
-  <info>./app/console help --xml list</info>
+  <info>php 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>./app/console list</info>
+  <info>php app/console list</info>
 
 You can also display the commands for a specific namespace:
 
-  <info>./app/console list test</info>
+  <info>php app/console list test</info>
 
 You can also output the information as XML by using the <comment>--xml</comment> option:
 
-  <info>./app/console list --xml</info>
+  <info>php app/console list --xml</info>
 EOF
             );
     }