From 1a698e00905d977624fa674018f5fb8467e4bd38 Mon Sep 17 00:00:00 2001 From: Andrew Robert Nicols Date: Thu, 28 Jul 2011 15:15:52 +0100 Subject: [PATCH] MDL-28515 Add cli install options for fullname and shortname --- admin/cli/install_database.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/admin/cli/install_database.php b/admin/cli/install_database.php index ac58928f6a6..9e55c9c7ad0 100644 --- a/admin/cli/install_database.php +++ b/admin/cli/install_database.php @@ -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 ), -- 2.11.4.GIT