Commit 839650a6 by Carsten Brandt

fixed output in Console::select()

parent be911e19
...@@ -766,9 +766,9 @@ class BaseConsole ...@@ -766,9 +766,9 @@ class BaseConsole
$input = static::stdin(); $input = static::stdin();
if ($input === '?') { if ($input === '?') {
foreach ($options as $key => $value) { foreach ($options as $key => $value) {
echo " $key - $value\n"; static::output(" $key - $value");
} }
echo " ? - Show help\n"; static::output(" ? - Show help");
goto top; goto top;
} elseif (!in_array($input, array_keys($options))) { } elseif (!in_array($input, array_keys($options))) {
goto top; 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