Commit 839650a6 by Carsten Brandt

fixed output in Console::select()

parent be911e19
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment