diff options
author | Matt Friedman <maf675@gmail.com> | 2015-08-23 15:14:08 -0700 |
---|---|---|
committer | Matt Friedman <maf675@gmail.com> | 2015-08-23 15:14:08 -0700 |
commit | 13851f308f57e0cda4c24f9a9a186aac912213d1 (patch) | |
tree | a0e7b47fb5ba11f39cba80f852cf6421d4720553 /phpBB/language/en/cli.php | |
parent | ef3de412b71259642022d5027817fceb5247552a (diff) | |
download | forums-13851f308f57e0cda4c24f9a9a186aac912213d1.tar forums-13851f308f57e0cda4c24f9a9a186aac912213d1.tar.gz forums-13851f308f57e0cda4c24f9a9a186aac912213d1.tar.bz2 forums-13851f308f57e0cda4c24f9a9a186aac912213d1.tar.xz forums-13851f308f57e0cda4c24f9a9a186aac912213d1.zip |
[ticket/14123] Add descriptive help to the CLI help output
PHPBB3-14123
Diffstat (limited to 'phpBB/language/en/cli.php')
-rw-r--r-- | phpBB/language/en/cli.php | 82 |
1 files changed, 81 insertions, 1 deletions
diff --git a/phpBB/language/en/cli.php b/phpBB/language/en/cli.php index 0e7dc39b95..11d45646f8 100644 --- a/phpBB/language/en/cli.php +++ b/phpBB/language/en/cli.php @@ -54,7 +54,7 @@ $lang = array_merge($lang, array( 'CLI_DESCRIPTION_DELETE_CONFIG' => 'Deletes a configuration option', 'CLI_DESCRIPTION_DISABLE_EXTENSION' => 'Disables the specified extension.', 'CLI_DESCRIPTION_ENABLE_EXTENSION' => 'Enables the specified extension.', - 'CLI_DESCRIPTION_FIND_MIGRATIONS' => 'Finds migrations that are not depended on.', + 'CLI_DESCRIPTION_FIND_MIGRATIONS' => 'Finds migrations that are not depended upon.', 'CLI_DESCRIPTION_GET_CONFIG' => 'Gets a configuration option’s value', 'CLI_DESCRIPTION_INCREMENT_CONFIG' => 'Increments a configuration option’s value', 'CLI_DESCRIPTION_LIST_EXTENSIONS' => 'Lists all extensions in the database and on the filesystem.', @@ -65,6 +65,86 @@ $lang = array_merge($lang, array( 'CLI_DESCRIPTION_SET_ATOMIC_CONFIG' => 'Sets a configuration option’s value only if the old matches the current value', 'CLI_DESCRIPTION_SET_CONFIG' => 'Sets a configuration option’s value', + 'CLI_HELP_PURGE_CACHE' => 'The <info>%command.name%</info> command allows you to purge the board’s cache. + + <info>php %command.full_name%</info> +', + 'CLI_HELP_DELETE_CONFIG' => 'The <info>%command.name%</info> command deletes a configuration option. The key name is required. + + <info>php %command.full_name% config_key</info> +', + 'CLI_HELP_GET_CONFIG' => 'The <info>%command.name%</info> command gets a configuration option’s value. The key name is required. + + <info>php %command.full_name% config_key</info> +', + 'CLI_HELP_INCREMENT_CONFIG' => 'The <info>%command.name%</info> command increments an integer configuration option’s value. The key name and increment amount are required. + + <info>php %command.full_name% config_key 1</info> + +If the configuration option changes too frequently to be efficiently cached, use the <info>--dynamic</info> or <info>-d</info> option: + + <info>php %command.full_name% config_key 1 --dynamic</info> + <info>php %command.full_name% config_key 1 -d</info> +', + 'CLI_HELP_SET_CONFIG' => 'The <info>%command.name%</info> sets a configuration option’s value. The key name and value are required. + + <info>php %command.full_name% config_key foo</info> + +If the configuration option changes too frequently to be efficiently cached, use the <info>--dynamic</info> or <info>-d</info> option: + + <info>php %command.full_name% config_key foo --dynamic</info> + <info>php %command.full_name% config_key foo -d</info> +', + 'CLI_HELP_SET_ATOMIC_CONFIG' => 'The <info>%command.name%</info> command sets a configuration option’s value only if the old value matches the current value or the configuration value does not exist yet. The key name, old and new values are required. + + <info>php %command.full_name% config_name foo bar</info> + +If the configuration option changes too frequently to be efficiently cached, use the <info>--dynamic</info> or <info>-d</info> option: + + <info>php %command.full_name% config_key foo bar --dynamic</info> + <info>php %command.full_name% config_key foo bar -d</info> +', + 'CLI_HELP_CRON_LIST' => 'The <info>%command.name%</info> command prints a list of ready and unready cron jobs. + + <info>php %command.full_name%</info> +', + 'CLI_HELP_CRON_RUN' => 'The <info>%command.name%</info> command runs all ready cron tasks. + + <info>php %command.full_name%</info> + +Optionally you can specify a cron task name to run only the specified cron task: + + <info>php %command.full_name% task_name</info> +', + 'CLI_HELP_DB_MIGRATE' => 'The <info>%command.name%</info> command updates the database by applying available migrations. + + <info>php %command.full_name%</info> +', + 'CLI_HELP_FIND_MIGRATIONS' => 'The <info>%command.name%</info> command finds migrations that are not depended upon. + + <info>php %command.full_name%</info> +', + 'CLI_HELP_DISABLE_EXTENSION' => 'The <info>%command.name%</info> command disables the specified extension. The extension name is required. + + <info>php %command.full_name% vendor_name/package_name</info> +', + 'CLI_HELP_ENABLE_EXTENSION' => 'The <info>%command.name%</info> command enables the specified extension. The extension name is required. + + <info>php %command.full_name% vendor_name/package_name</info> +', + 'CLI_HELP_PURGE_EXTENSION' => 'The <info>%command.name%</info> command purges the specified extension. The extension name is required. + + <info>php %command.full_name% vendor_name/package_name</info> +', + 'CLI_HELP_LIST_EXTENSIONS' => 'The <info>%command.name%</info> command lists all extensions in the database and on the filesystem. + + <info>php %command.full_name%</info> +', + 'CLI_HELP_RECALCULATE_EMAIL_HASH' => 'The <info>%command.name%</info> command recalculates the user_email_hash column of the users table. + + <info>php %command.full_name%</info> +', + 'CLI_EXTENSION_DISABLE_FAILURE' => 'Could not disable extension %s', 'CLI_EXTENSION_DISABLE_SUCCESS' => 'Successfully disabled extension %s', 'CLI_EXTENSION_ENABLE_FAILURE' => 'Could not enable extension %s', |