1
0
mirror of https://github.com/moodle/moodle.git synced 2025-03-14 12:40:01 +01:00

Merge branch 'MDL-28515' of git://git.luns.net.uk/moodle

This commit is contained in:
Sam Hemelryk 2011-08-02 17:06:56 +08:00
commit 1eaeb5d89e

@ -46,6 +46,8 @@ Options:
--adminuser=USERNAME Username for the moodle admin account. Default is admin. --adminuser=USERNAME Username for the moodle admin account. Default is admin.
--adminpass=PASSWORD Password for the moodle admin account. --adminpass=PASSWORD Password for the moodle admin account.
--agree-license Indicates agreement with software license. --agree-license Indicates agreement with software license.
--fullname Name of the site
--shortname Name of the site
-h, --help Print out this help -h, --help Print out this help
Example: Example:
@ -93,6 +95,8 @@ list($options, $unrecognized) = cli_get_params(
'lang' => 'en', 'lang' => 'en',
'adminuser' => 'admin', 'adminuser' => 'admin',
'adminpass' => '', 'adminpass' => '',
'fullname' => '',
'shortname' => '',
'agree-license' => false, 'agree-license' => false,
'help' => false 'help' => false
), ),