Browse Source

renamed flat format to text

Benoît Merlet 11 years ago
parent
commit
bf0b42efaa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Composer/Command/LicensesCommand.php

+ 2 - 2
src/Composer/Command/LicensesCommand.php

@@ -30,7 +30,7 @@ class LicensesCommand extends Command
             ->setName('licenses')
             ->setDescription('Show information about licenses of dependencies')
             ->setDefinition(array(
-                new InputOption('format', 'f', InputOption::VALUE_REQUIRED, 'Format of the output: flat or json', 'flat'),
+                new InputOption('format', 'f', InputOption::VALUE_REQUIRED, 'Format of the output: text or json', 'text'),
             ))
             ->setHelp(<<<EOT
 The license command displays detailed information about the licenses of
@@ -61,7 +61,7 @@ EOT
         ksort($packages);
 
         switch ($format = $input->getOption('format')) {
-            case 'flat':
+            case 'text':
                 $formatRowCallback = function (PackageInterface $package) use ($versionParser, $nameLength, $versionLength) {
                     return sprintf(
                         '  %s  %s  %s',