Browse Source

Merge pull request #2589 from staabm/patch-1

added a indicator in the info-message on --optimize
Jordi Boggiano 11 years ago
parent
commit
b20021cc6a
1 changed files with 5 additions and 1 deletions
  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();