X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole%2Fsrc%2FCommand%2FConfig%2FImportCommand.php;h=8f5ad6010661dd18fc02205b9d2a931278f61062;hp=373b3d5870ba69fe8d57b61b1c34dc3b406b2591;hb=eba34333e3c89f208d2f72fa91351ad019a71583;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae diff --git a/vendor/drupal/console/src/Command/Config/ImportCommand.php b/vendor/drupal/console/src/Command/Config/ImportCommand.php index 373b3d587..8f5ad6010 100644 --- a/vendor/drupal/console/src/Command/Config/ImportCommand.php +++ b/vendor/drupal/console/src/Command/Config/ImportCommand.php @@ -70,7 +70,7 @@ class ImportCommand extends Command ) ->addOption( 'remove-files', - false, + null, InputOption::VALUE_NONE, $this->trans('commands.config.import.options.remove-files') ); @@ -130,7 +130,7 @@ class ImportCommand extends Command $config_importer->import(); return true; } catch (ConfigImporterException $e) { - $message = 'The import failed due for the following reasons:' . "\n"; + $message = 'The import failed due to the following reasons:' . "\n"; $message .= implode("\n", $config_importer->getErrors()); $io->error( sprintf(