Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
fc8f6c46
Commit
fc8f6c46
authored
Oct 03, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reverted color change of
de87f43d
parent
f6128353
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
HelpController.php
framework/console/controllers/HelpController.php
+2
-2
No files found.
framework/console/controllers/HelpController.php
View file @
fc8f6c46
...
...
@@ -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
\"
."
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment