Skip to content

Commit 9a22ce4

Browse files
author
spdionis
committed
output command name raw
1 parent 4f61339 commit 9a22ce4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Symfony/Component/Console/Descriptor/TextDescriptor.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,9 @@ protected function describeApplication(Application $application, array $options
200200
}
201201

202202
foreach ($namespace['commands'] as $name) {
203-
$this->writeText("\n");
204-
$this->writeText(sprintf(" <info>%-${width}s</info> %s", $name, $description->getCommand($name)->getDescription()), $options);
203+
$this->writeText("\n <info>");
204+
$this->writeText(sprintf("%-${width}s", $name), array_merge($options, array('raw_output' => true)));
205+
$this->writeText(sprintf("</info> %s", $description->getCommand($name)->getDescription()), $options);
205206
}
206207
}
207208

0 commit comments

Comments
 (0)