[Pkg-owncloud-commits] [owncloud] 167/215: make command optional
David Prévot
taffit at moszumanska.debian.org
Tue May 5 01:01:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 7c0dc06c10d2a47b209fbdd5c943ce78acca2635
Author: Bernhard Posselt <dev at bernhard-posselt.com>
Date: Wed Apr 29 22:53:16 2015 +0200
make command optional
---
core/command/maintenance/install.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/command/maintenance/install.php b/core/command/maintenance/install.php
index 361e631..dbc5ed7 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')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list