protected function checkForPartsSettingsOrQuit(array $presetSettings, $preset)
    {
        if (!isset($presetSettings['parts'])) {
            $this->outputLine('<b>No "parts" array found for import preset "%s</b>".', [ $preset ]);
            $this->outputLine();
            $this->outputLine('Please note that the settings structure has changed slightly. Instead of just defining');
            $this->outputLine('parts as a sub-array of the respective preset, you now need to define them in a sub-array');
            $this->outputLine('called "parts".');
            $this->outputLine('');
            $this->outputLine('Ttree:');
            $this->outputLine('  ContentRepositoryImporter:');
            $this->outputLine('    presets:');
            $this->outputLine("      '$preset':");
            $this->outputLine("        parts:");
            if (is_array($presetSettings) && count($presetSettings) > 0) {
                $firstPart = array_keys($presetSettings)[0];
                $this->outputLine("          '$firstPart':");
            }
            $this->outputLine("          ...");
            $this->quit(1);
        }
    }