1
0
Fork 0

Show version in composer show --self

pull/1210/merge
Jordi Boggiano 2012-10-14 13:41:08 +02:00
parent 5dd5332623
commit 59edd4e6d6
1 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,8 @@ EOT
if (!$package) {
throw new \InvalidArgumentException('Package '.$input->getArgument('package').' not found');
}
} else {
$versions = array($package->getPrettyVersion() => $package->getVersion());
}
$this->printMeta($input, $output, $package, $versions, $installedRepo, $repos);