bug #13611 [Console] “console help” ignores --raw option (c960657)

This PR was submitted for the 2.7 branch but it was merged into the 2.6 branch instead (closes #13611).

Discussion
----------

[Console] “console help” ignores --raw option

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

The option for DescriptorHelper::describe() is `raw_text`, not `raw`.

Commits
-------

eabc5d8 “console help” ignores --raw option
This commit is contained in:
Fabien Potencier 2015-02-08 08:19:48 +01:00
commit 8b10043dad

View File

@ -83,7 +83,7 @@ EOF
$helper = new DescriptorHelper();
$helper->describe($output, $this->command, array(
'format' => $input->getOption('format'),
'raw' => $input->getOption('raw'),
'raw_text' => $input->getOption('raw'),
));
$this->command = null;