Bläddra i källkod

[Console] added the version to the default shell prompt

Fabien Potencier 15 år sedan
förälder
incheckning
008d9da88f
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/Symfony/Components/Console/Shell.php

+ 1 - 1
src/Symfony/Components/Console/Shell.php

@@ -134,7 +134,7 @@ class Shell
   {
     return <<<EOF
 
-Welcome to the <info>{$this->application->getName()}</info> shell.
+Welcome to the <info>{$this->application->getName()}</info> shell (<comment>{$this->application->getVersion()}</comment>).
 
 At the prompt, type <comment>help</comment> for some help,
 or <comment>list</comment> to get a list available commands.