diff --git a/framework/yii/helpers/BaseConsole.php b/framework/yii/helpers/BaseConsole.php index 0b8e6be..c78ed67 100644 --- a/framework/yii/helpers/BaseConsole.php +++ b/framework/yii/helpers/BaseConsole.php @@ -766,9 +766,9 @@ class BaseConsole $input = static::stdin(); if ($input === '?') { foreach ($options as $key => $value) { - echo " $key - $value\n"; + static::output(" $key - $value"); } - echo " ? - Show help\n"; + static::output(" ? - Show help"); goto top; } elseif (!in_array($input, array_keys($options))) { goto top;