diff --git a/src/Commands/ConfigSyncCommands.php b/src/Commands/ConfigSyncCommands.php index ac7e35d..966caff 100644 --- a/src/Commands/ConfigSyncCommands.php +++ b/src/Commands/ConfigSyncCommands.php @@ -127,13 +127,13 @@ class ConfigSyncCommands extends DrushCommands { * Apply configuration updates. * * @command config-sync-update - * @option retain-overrides Merge configuration updates with the active configuration, so that any overridden configuration is retained. + * @option discard-overrides The active configuration will be reverted to the new configuration state as defined by distributions and modules, discarding any changes that have been made in the active configuration. If this option is omitted, the overrides will be merged with the configuration updates. * @usage drush config-sync-update * Apply updates to all extensions. * @aliases cs-update */ - public function syncUpdate($options = ['retain-overrides' => FALSE]) { - $this->configSyncInitializer->initialize($options['retain-overrides']); + public function syncUpdate($options = ['discard-overrides' => FALSE]) { + $this->configSyncInitializer->initialize(!$options['discard-overrides']); $storage_comparer = new StorageComparer($this->mergedStorage, $this->activeStorage, $this->configManager);