diff --git a/src/Composer/Command/LicensesCommand.php b/src/Composer/Command/LicensesCommand.php index bfaa45db2..735f24201 100644 --- a/src/Composer/Command/LicensesCommand.php +++ b/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(<<getOption('format')) { - case 'flat': + case 'text': $formatRowCallback = function (PackageInterface $package) use ($versionParser, $nameLength, $versionLength) { return sprintf( ' %s %s %s',