1
0
Fork 0

Add explanation about match args in the "no installed package" output, refs #4663

pull/4525/merge
Jordi Boggiano 2016-01-09 18:22:49 +00:00
parent 42cb3dafc4
commit e8bc9232e0
1 changed files with 5 additions and 1 deletions

View File

@ -130,7 +130,11 @@ EOT
sort($messages);
$io->write($messages);
} else {
$io->writeError('<info>There is no installed package depending on "'.$needle.'".</info>');
$matchText = '';
if ($input->getOption('match-constraint') !== '*') {
$matchText = ' in versions '.($matchInvert ? 'not ':'').'matching ' . $input->getOption('match-constraint');
}
$io->writeError('<info>There is no installed package depending on "'.$needle.'"'.$matchText.'.</info>');
}
}
}