Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Calling drush --include=/usr/share/php/drush/examples/ help updatedb
doesn't output the --token
option in the help text. It also means that specifying the --token
option with the example policy file returns an unknown option error. Renaming the function policy_drush_help_alter
in the example policy file fixes the issue.
Comment | File | Size | Author |
---|---|---|---|
#1 | wrong_policy_function_name-1574814-1.patch | 1.31 KB | dkingofpa |
Comments
Comment #1
dkingofpa CreditAttribution: dkingofpa commentedPatch attached that corrects the function name and includes better function documentation from examples/sync_enable.drush.inc. The patch was created from the
master
branch.Comment #2
moshe weitzman CreditAttribution: moshe weitzman commentedCommitted