summaryrefslogtreecommitdiffstats
path: root/core/Command
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2023-05-09 17:16:26 +0200
committerGitHub <noreply@github.com>2023-05-09 17:16:26 +0200
commit00480714389b56c240612651776b6dbc6ebbaf0b (patch)
tree910f7082caff5b90a191ee81b334de1a078d121e /core/Command
parent904fdf3aa3e55ec61943178e1fe28b0f89f8ef4f (diff)
parentcd3e7fd1b052e7907aeeaa6b8c91eb3771acf1c4 (diff)
downloadnextcloud-server-00480714389b56c240612651776b6dbc6ebbaf0b.tar.gz
nextcloud-server-00480714389b56c240612651776b6dbc6ebbaf0b.zip
Merge pull request #38069 from nextcloud/list-supported-db
Diffstat (limited to 'core/Command')
-rw-r--r--core/Command/Maintenance/Install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Maintenance/Install.php b/core/Command/Maintenance/Install.php
index fa93a661906..efb99e51431 100644
--- a/core/Command/Maintenance/Install.php
+++ b/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');