Bug 26911 - cli install doesn't ask for a password
authorMark A. Hershberger <mah@everybody.org>
Fri, 22 Jun 2012 22:05:24 +0000 (18:05 -0400)
committerMark A. Hershberger <mah@everybody.org>
Fri, 22 Jun 2012 23:51:20 +0000 (19:51 -0400)
Make the password parameter mandatory and change the help message.

Change-Id: Ibea29858be70a5188d167b9c1267b2db2564a96b

maintenance/install.php

index 65d6a70..8e0b2e1 100644 (file)
@@ -39,7 +39,7 @@ class CommandLineInstaller extends Maintenance {
                $this->addArg( 'name', 'The name of the wiki', true);
 
                $this->addArg( 'admin', 'The username of the wiki administrator (WikiSysop)', true );
-               $this->addOption( 'pass', 'The password for the wiki administrator. You will be prompted for this if it isn\'t provided', false, true );
+               $this->addOption( 'pass', 'The password for the wiki administrator.', true, true );
                /* $this->addOption( 'email', 'The email for the wiki administrator', false, true ); */
                $this->addOption( 'scriptpath', 'The relative path of the wiki in the web server (/wiki)', false, true );