reverted color change of de87f43d707a53cd181f76e0b1160237056e277f

This commit is contained in:
Carsten Brandt
2014-10-03 16:31:39 +02:00
parent f612835344
commit fc8f6c469c

View File

@ -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\".");
}