Skip to content

Commit

Permalink
Fix #5908. drush help cron errors due to an ampersand in XML help (#5954
Browse files Browse the repository at this point in the history
)
  • Loading branch information
weitzman committed Apr 10, 2024
1 parent 117353d commit 397f4d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Commands/core/DrupalCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ public function __construct(

/**
* Run all cron hooks in all active modules for specified site.
*
* Consider using `drush maint:status && drush core:cron` to avoid cache poisoning during maintenance mode.
*/
#[CLI\Command(name: self::CRON, aliases: ['cron', 'core-cron'])]
#[CLI\Usage(name: 'drush maint:status && drush core:cron', description: 'Run cron unless maintenance mode is enabled')]
#[CLI\Topics(topics: [DocsCommands::CRON])]
public function cron(): bool
{
Expand Down

0 comments on commit 397f4d8

Please sign in to comment.