|
@@ -86,7 +86,7 @@ class Application
|
|
|
new InputOption('--quiet', '-q', InputOption::PARAMETER_NONE, 'Do not output any message.'),
|
|
|
new InputOption('--verbose', '-v', InputOption::PARAMETER_NONE, 'Increase verbosity of messages.'),
|
|
|
new InputOption('--version', '-V', InputOption::PARAMETER_NONE, 'Display this program version.'),
|
|
|
- new InputOption('--ansi', '-a', InputOption::PARAMETER_NONE, 'Force ANSI color output.'),
|
|
|
+ new InputOption('--ansi', '-a', InputOption::PARAMETER_NONE, 'Force ANSI output.'),
|
|
|
new InputOption('--no-interaction', '-n', InputOption::PARAMETER_NONE, 'Do not ask any interactive question.'),
|
|
|
));
|
|
|
}
|
|
@@ -145,7 +145,7 @@ class Application
|
|
|
{
|
|
|
$name = $input->getFirstArgument('command');
|
|
|
|
|
|
- if (true === $input->hasParameterOption(array('--color', '-c'))) {
|
|
|
+ if (true === $input->hasParameterOption(array('--ansi', '-a'))) {
|
|
|
$output->setDecorated(true);
|
|
|
}
|
|
|
|