summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-30 10:45:23 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-30 10:45:23 +0200
commitb9c1bf26ee36f39cca9ae7b787cdca761ae69868 (patch)
treec2394ee600a9e507049d8ba85fcc046d5ea023e8 /core
parent08aef98e1186b17e6748e31f526a60c92e4b3e52 (diff)
parent7c0dc06c10d2a47b209fbdd5c943ce78acca2635 (diff)
downloadnextcloud-server-b9c1bf26ee36f39cca9ae7b787cdca761ae69868.tar.gz
nextcloud-server-b9c1bf26ee36f39cca9ae7b787cdca761ae69868.zip
Merge pull request #15951 from owncloud/fix-install-again
Make command optional
Diffstat (limited to 'core')
-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 361e63154c8..dbc5ed77509 100644
--- a/core/command/maintenance/install.php
+++ b/core/command/maintenance/install.php
@@ -49,7 +49,7 @@ class Install extends Command {
->addOption('database-name', null, InputOption::VALUE_REQUIRED, 'Name of the database')
->addOption('database-host', null, InputOption::VALUE_REQUIRED, 'Hostname of the database', 'localhost')
->addOption('database-user', null, InputOption::VALUE_REQUIRED, 'User name to connect to the database')
- ->addOption('database-pass', null, InputOption::VALUE_REQUIRED, 'Password of the database user', null)
+ ->addOption('database-pass', null, InputOption::VALUE_OPTIONAL, 'Password of the database user', null)
->addOption('database-table-prefix', null, InputOption::VALUE_OPTIONAL, 'Prefix for all tables (default: oc_)', null)
->addOption('admin-user', null, InputOption::VALUE_REQUIRED, 'User name of the admin account', 'admin')
->addOption('admin-pass', null, InputOption::VALUE_REQUIRED, 'Password of the admin account')