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

made command consistent with other help texts (it's now './app/console', instead of 'php app/console')

Paul 14 лет назад
Родитель
Сommit
924ea926ea

+ 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>php app/console 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>php app/console 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>php app/console list</info>
+  <info>./app/console list</info>
 
 You can also display the commands for a specific namespace:
 
-  <info>php app/console 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>php app/console list --xml</info>
+  <info>./app/console list --xml</info>
 EOF
             );
     }