Browse Source
fix(ConvertType): Read hostname from arguments and not options
Signed-off-by: provokateurin <kate@provokateurin.de>
pull/50530/head
provokateurin
9 months ago
Failed to extract signature
1 changed files with
1 additions and
1 deletions
-
core/Command/Db/ConvertType.php
|
|
@ -236,7 +236,7 @@ class ConvertType extends Command implements CompletionAwareInterface { |
|
|
|
} |
|
|
|
|
|
|
|
// parse hostname for unix socket
|
|
|
|
if (preg_match('/^(.+)(:(\d+|[^:]+))?$/', $input->getOption('hostname'), $matches)) { |
|
|
|
if (preg_match('/^(.+)(:(\d+|[^:]+))?$/', $input->getArgument('hostname'), $matches)) { |
|
|
|
$connectionParams['host'] = $matches[1]; |
|
|
|
if (isset($matches[3])) { |
|
|
|
if (is_numeric($matches[3])) { |
|
|
|