Commit 15c54de6 by Carsten Brandt

added yii version to the console help output

parent c303ffd6
......@@ -182,6 +182,7 @@ class HelpController extends Controller
protected function getDefaultHelp()
{
$commands = $this->getCommandDescriptions();
$this->stdout("\nThis is Yii version " . \Yii::getVersion() . ".\n");
if (!empty($commands)) {
$this->stdout("\nThe following commands are available:\n\n", Console::BOLD);
$len = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment