Bläddra i källkod

[Console] changed the --color/-c option to --ansi/-a to avoid conflict with --config/-c

Fabien Potencier 15 år sedan
förälder
incheckning
04a87053d1
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/Symfony/Components/Console/Application.php

+ 1 - 1
src/Symfony/Components/Console/Application.php

@@ -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('--color',          '-c', InputOption::PARAMETER_NONE, 'Force ANSI color output.'),
+            new InputOption('--ansi',           '-a', InputOption::PARAMETER_NONE, 'Force ANSI color output.'),
             new InputOption('--no-interaction', '-n', InputOption::PARAMETER_NONE, 'Do not ask any interactive question.'),
         ));
     }