Mercurial > hg > isophonics-drupal-site
diff vendor/symfony/console/Descriptor/JsonDescriptor.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | 1fec387a4317 |
children | 129ea1e6d783 |
line wrap: on
line diff
--- a/vendor/symfony/console/Descriptor/JsonDescriptor.php Thu Apr 26 11:26:54 2018 +0100 +++ b/vendor/symfony/console/Descriptor/JsonDescriptor.php Tue Jul 10 15:07:59 2018 +0100 @@ -121,7 +121,7 @@ { return array( 'name' => '--'.$option->getName(), - 'shortcut' => $option->getShortcut() ? '-'.implode('|-', explode('|', $option->getShortcut())) : '', + 'shortcut' => $option->getShortcut() ? '-'.str_replace('|', '|-', $option->getShortcut()) : '', 'accept_value' => $option->acceptValue(), 'is_value_required' => $option->isValueRequired(), 'is_multiple' => $option->isArray(),