|
@@ -48,7 +48,8 @@ class UpdateCommand extends BaseCommand
|
|
|
new InputOption('no-scripts', null, InputOption::VALUE_NONE, 'Skips the execution of all scripts defined in composer.json file.'),
|
|
|
new InputOption('no-progress', null, InputOption::VALUE_NONE, 'Do not output download progress.'),
|
|
|
new InputOption('no-suggest', null, InputOption::VALUE_NONE, 'Do not show package suggestions.'),
|
|
|
- new InputOption('with-dependencies', null, InputOption::VALUE_NONE, 'Add also all dependencies of whitelisted packages to the whitelist.'),
|
|
|
+ new InputOption('with-dependencies', null, InputOption::VALUE_NONE, 'Add also dependencies of whitelisted packages to the whitelist, if those dependencies are not defined in root package.'),
|
|
|
+ new InputOption('with-all-dependencies', null, InputOption::VALUE_NONE, 'Add also all dependencies of whitelisted packages to the whitelist.'),
|
|
|
new InputOption('verbose', 'v|vv|vvv', InputOption::VALUE_NONE, 'Shows more details including new commits pulled in when updating packages.'),
|
|
|
new InputOption('optimize-autoloader', 'o', InputOption::VALUE_NONE, 'Optimize autoloader during autoloader dump.'),
|
|
|
new InputOption('classmap-authoritative', 'a', InputOption::VALUE_NONE, 'Autoload classes from the classmap only. Implicitly enables `--optimize-autoloader`.'),
|
|
@@ -145,7 +146,8 @@ EOT
|
|
|
->setApcuAutoloader($apcu)
|
|
|
->setUpdate(true)
|
|
|
->setUpdateWhitelist($input->getOption('lock') ? array('lock') : $packages)
|
|
|
- ->setWhitelistDependencies($input->getOption('with-dependencies'))
|
|
|
+ ->setIndirectWhitelistDependencies($input->getOption('with-dependencies'))
|
|
|
+ ->setAllWhitelistDependencies($input->getOption('with-all-dependencies'))
|
|
|
->setIgnorePlatformRequirements($input->getOption('ignore-platform-reqs'))
|
|
|
->setPreferStable($input->getOption('prefer-stable'))
|
|
|
->setPreferLowest($input->getOption('prefer-lowest'))
|