private function formatEcho(Format $format, $args)
{
foreach ($args as $group => $list) {
if (is_array($list)) {
$this->writeln($format->format($group));
foreach ($list as $name => $desc) {
$this->writeln($format->format(' ' . $name . str_repeat(' ', $this->commandLength - 2 - strlen($name)) . $desc));
}
} else {
$this->writeln($format->format($group . str_repeat(' ', $this->commandLength - strlen($group)) . $list));
}
}
}