diff --git a/src/Composer/Command/AboutCommand.php b/src/Composer/Command/AboutCommand.php index bf1fa0f9c..931c20e55 100644 --- a/src/Composer/Command/AboutCommand.php +++ b/src/Composer/Command/AboutCommand.php @@ -12,6 +12,7 @@ namespace Composer\Command; +use Composer\Composer; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; @@ -24,7 +25,7 @@ class AboutCommand extends BaseCommand { $this ->setName('about') - ->setDescription('Shows the short information about Composer.') + ->setDescription('Shows a short information about Composer.') ->setHelp( <<php composer.phar about @@ -35,9 +36,11 @@ EOT protected function execute(InputInterface $input, OutputInterface $output) { + $composerVersion = Composer::getVersion(); + $this->getIO()->write( <<Composer - Dependency Manager for PHP +Composer - Dependency Manager for PHP - version $composerVersion Composer is a dependency manager tracking local dependencies of your projects and libraries. See https://getcomposer.org/ for more information. EOT