mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
CLI: Prompt: Change color of default value to green
This commit is contained in:
parent
cc24a929ea
commit
c5f82f7715
@ -228,13 +228,13 @@ class CLI
|
||||
}
|
||||
|
||||
if (is_string($options)) {
|
||||
$extraOutput = ' [' . static::color($options, 'white') . ']';
|
||||
$extraOutput = ' [' . static::color($options, 'green') . ']';
|
||||
$default = $options;
|
||||
}
|
||||
|
||||
if (is_array($options) && $options) {
|
||||
$opts = $options;
|
||||
$extraOutputDefault = static::color($opts[0], 'white');
|
||||
$extraOutputDefault = static::color($opts[0], 'green');
|
||||
|
||||
unset($opts[0]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user