-v should not show everything twice, refs #4846
parent
44cfad36b7
commit
12b860733f
|
@ -102,15 +102,12 @@ EOT
|
||||||
// Determine output mode
|
// Determine output mode
|
||||||
$mode = 0;
|
$mode = 0;
|
||||||
$io = $this->getIO();
|
$io = $this->getIO();
|
||||||
if ($input->getOption('by-package')) {
|
if ($input->getOption('by-package') || $io->isVerbose()) {
|
||||||
$mode |= 1;
|
$mode |= 1;
|
||||||
}
|
}
|
||||||
if ($input->getOption('by-suggestion')) {
|
if ($input->getOption('by-suggestion')) {
|
||||||
$mode |= 2;
|
$mode |= 2;
|
||||||
}
|
}
|
||||||
if ($io->isVerbose()) {
|
|
||||||
$mode = ~0;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Simple mode
|
// Simple mode
|
||||||
if ($mode === 0) {
|
if ($mode === 0) {
|
||||||
|
|
Loading…
Reference in New Issue