mirror of
https://github.com/composer/composer
synced 2025-05-11 09:32:55 +00:00
Use only one level of verbosity
This commit is contained in:
parent
5ba41514a9
commit
0964c02acb
2 changed files with 5 additions and 5 deletions
|
@ -32,6 +32,8 @@ class SuggestsCommand extends Command
|
|||
|
||||
The <info>%command.name%</info> command shows suggested packages.
|
||||
|
||||
With <info>-v</info> you also see which package suggested it and why.
|
||||
|
||||
EOT
|
||||
)
|
||||
;
|
||||
|
@ -87,10 +89,8 @@ EOT
|
|||
{
|
||||
$io = $this->getIO();
|
||||
|
||||
if ($io->isVeryVerbose()) {
|
||||
if ($io->isVerbose()) {
|
||||
$io->write(sprintf('<comment>%s</comment> suggests <info>%s</info>: %s', $package, $suggestion, $reason));
|
||||
} elseif ($io->isVerbose()) {
|
||||
$io->write(sprintf('<comment>%s</comment> suggests <info>%s</info>', $package, $suggestion));
|
||||
} else {
|
||||
$io->write(sprintf('<info>%s</info>', $suggestion));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue