Fix outdated command not forwarding some global options correctly
parent
b3d20319e9
commit
d3f40ca52d
|
@ -71,6 +71,18 @@ EOT
|
|||
'command' => 'show',
|
||||
'--latest' => true,
|
||||
];
|
||||
if ($input->getOption('no-interaction')) {
|
||||
$args['--no-interaction'] = true;
|
||||
}
|
||||
if ($input->getOption('no-plugins')) {
|
||||
$args['--no-plugins'] = true;
|
||||
}
|
||||
if ($input->getOption('no-scripts')) {
|
||||
$args['--no-scripts'] = true;
|
||||
}
|
||||
if ($input->getOption('no-cache')) {
|
||||
$args['--no-cache'] = true;
|
||||
}
|
||||
if (!$input->getOption('all')) {
|
||||
$args['--outdated'] = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue