Mercurial > hg > isophonics-drupal-site
diff vendor/symfony/console/Application.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 129ea1e6d783 |
children |
line wrap: on
line diff
--- a/vendor/symfony/console/Application.php Thu Feb 28 13:21:36 2019 +0000 +++ b/vendor/symfony/console/Application.php Thu May 09 15:33:08 2019 +0100 @@ -202,6 +202,13 @@ return 0; } + try { + // Makes ArgvInput::getFirstArgument() able to distinguish an option from an argument. + $input->bind($this->getDefinition()); + } catch (ExceptionInterface $e) { + // Errors must be ignored, full binding/validation happens later when the command is known. + } + $name = $this->getCommandName($input); if (true === $input->hasParameterOption(['--help', '-h'], true)) { if (!$name) {