From d9829b1f52e449f8f246483ad672cd7afcd8319d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Iv=C3=A1n=20M=C3=A9ndez=20Castillo?= Date: Wed, 5 Jul 2017 17:46:31 -0500 Subject: [PATCH] text used in yml fixed for export command (#3401) --- src/Command/Config/ExportCommand.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Command/Config/ExportCommand.php b/src/Command/Config/ExportCommand.php index 9be8e7d61..d0e24e73a 100644 --- a/src/Command/Config/ExportCommand.php +++ b/src/Command/Config/ExportCommand.php @@ -59,23 +59,23 @@ protected function configure() 'directory', null, InputOption::VALUE_OPTIONAL, - $this->trans('commands.config.export.arguments.directory') + $this->trans('commands.config.export.options.directory') ) ->addOption( 'tar', null, InputOption::VALUE_NONE, - $this->trans('commands.config.export.arguments.tar') + $this->trans('commands.config.export.options.tar') )->addOption( 'remove-uuid', null, InputOption::VALUE_NONE, - $this->trans('commands.config.export.single.options.remove-uuid') + $this->trans('commands.config.export.options.remove-uuid') )->addOption( 'remove-config-hash', null, InputOption::VALUE_NONE, - $this->trans('commands.config.export.single.options.remove-config-hash') + $this->trans('commands.config.export.options.remove-config-hash') ) ->setAliases(['ce']); } @@ -91,7 +91,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $tar = $input->getOption('tar'); $removeUuid = $input->getOption('remove-uuid'); $removeHash = $input->getOption('remove-config-hash'); - + if (!$directory) { $directory = config_get_config_directory(CONFIG_SYNC_DIRECTORY); }