From fc8f6c469ca3f90ac24ac67ccb2482ae9d56d7be Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Fri, 3 Oct 2014 16:31:39 +0200 Subject: [PATCH] reverted color change of de87f43d707a53cd181f76e0b1160237056e277f --- framework/console/controllers/HelpController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/console/controllers/HelpController.php b/framework/console/controllers/HelpController.php index a40d5d0ddd..9ac299ee09 100644 --- a/framework/console/controllers/HelpController.php +++ b/framework/console/controllers/HelpController.php @@ -51,7 +51,7 @@ class HelpController extends Controller if ($command !== null) { $result = Yii::$app->createController($command); if ($result === false) { - $name = $this->ansiFormat($command, Console::FG_RED); + $name = $this->ansiFormat($command, Console::FG_YELLOW); throw new Exception("No help for unknown command \"$name\"."); } @@ -250,7 +250,7 @@ class HelpController extends Controller { $action = $controller->createAction($actionID); if ($action === null) { - $name = $this->ansiFormat(rtrim($controller->getUniqueId() . '/' . $actionID, '/'), Console::FG_RED); + $name = $this->ansiFormat(rtrim($controller->getUniqueId() . '/' . $actionID, '/'), Console::FG_YELLOW); throw new Exception("No help for unknown sub-command \"$name\"."); }