Browse Source
list supported databases when provided db isn't supported
Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/38069/head
Robin Appelman
3 years ago
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
1 changed files with
1 additions and
1 deletions
-
core/Command/Maintenance/Install.php
|
|
|
@ -123,7 +123,7 @@ class Install extends Command { |
|
|
|
$db = strtolower($input->getOption('database')); |
|
|
|
|
|
|
|
if (!in_array($db, $supportedDatabases)) { |
|
|
|
throw new InvalidArgumentException("Database <$db> is not supported."); |
|
|
|
throw new InvalidArgumentException("Database <$db> is not supported. " . implode(", ", $supportedDatabases) . " are supported."); |
|
|
|
} |
|
|
|
|
|
|
|
$dbUser = $input->getOption('database-user'); |
|
|
|
|