Преглед на файлове

[Console] added the version to the default shell prompt

Fabien Potencier преди 15 години
родител
ревизия
008d9da88f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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.