From d8cc8aae1af99178cb6f52ef666a5a26509040d0 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Wed, 29 Jan 2025 11:50:53 +0100 Subject: [PATCH] fix(ConvertType): Read hostname from arguments and not options Signed-off-by: provokateurin --- core/Command/Db/ConvertType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Command/Db/ConvertType.php b/core/Command/Db/ConvertType.php index d7b0673e052..b5d1b9b9330 100644 --- a/core/Command/Db/ConvertType.php +++ b/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])) {