Skip to content

Commit 2c08439

Browse files
committed
Affiliate cron help topic to core-cron command.
1 parent 4ba6ffe commit 2c08439

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

commands/core/core.drush.inc

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ function core_drush_command() {
6363
$items['core-cron'] = array(
6464
'description' => 'Run all cron hooks in all active modules for specified site.',
6565
'aliases' => array('cron'),
66+
'topics' => array('core-cron'),
6667
);
6768
$items['updatedb'] = array(
6869
'description' => 'Apply any database updates required (as with running update.php).',
@@ -675,15 +676,7 @@ function _drush_core_status_format_table_data($output, $metadata) {
675676
}
676677

677678
/**
678-
* Command callback. Runs cron hooks.
679-
*
680-
* This is where the action takes place.
681-
*
682-
* In this function, all of Drupals API is (usually) available, including
683-
* any functions you have added in your own modules/themes.
684-
*
685-
* To print something to the terminal window, use drush_print().
686-
*
679+
* Command callback. Runs all cron hooks.
687680
*/
688681
function drush_core_cron() {
689682
if (drupal_cron_run()) {

0 commit comments

Comments
 (0)