MDL-28515 Add cli install options for fullname and shortname

This commit is contained in:
Andrew Robert Nicols
2011-08-02 17:07:44 +08:00
committed by Sam Hemelryk
parent 26dcfcb542
commit c0c2b3dc1a
+4
View File
@@ -46,6 +46,8 @@ Options:
--adminuser=USERNAME Username for the moodle admin account. Default is admin.
--adminpass=PASSWORD Password for the moodle admin account.
--agree-license Indicates agreement with software license.
--fullname Name of the site
--shortname Name of the site
-h, --help Print out this help
Example:
@@ -93,6 +95,8 @@ list($options, $unrecognized) = cli_get_params(
'lang' => 'en',
'adminuser' => 'admin',
'adminpass' => '',
'fullname' => '',
'shortname' => '',
'agree-license' => false,
'help' => false
),