Explorar el Código

Merge pull request #2589 from staabm/patch-1

added a indicator in the info-message on --optimize
Jordi Boggiano hace 11 años
padre
commit
b20021cc6a
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      src/Composer/Command/DumpAutoloadCommand.php

+ 5 - 1
src/Composer/Command/DumpAutoloadCommand.php

@@ -41,7 +41,11 @@ EOT
 
     protected function execute(InputInterface $input, OutputInterface $output)
     {
-        $output->writeln('<info>Generating autoload files</info>');
+        if ($input->getOption('optimize')) {
+            $output->writeln('<info>Generating optimized autoload files</info>');
+        } else {
+            $output->writeln('<info>Generating autoload files</info>');
+        }
 
         $composer = $this->getComposer();