You are here

function hacked_drush_help_alter in Hacked! 8.2

Same name and namespace in other branches
  1. 6.2 hacked.drush.inc \hacked_drush_help_alter()
  2. 7.2 hacked.drush.inc \hacked_drush_help_alter()

Implements hook_drush_help_alter().

Add --lock-modified to the pm-updatecode and pm-update help.

File

./hacked.drush.inc, line 254
Hacked drush command.

Code

function hacked_drush_help_alter(&$command) {
  if ($command['command'] == 'pm-updatecode' || $command['command'] == 'pm-update') {
    $command['sub-options']['--lock']['--lock-modified'] = "Lock any project that Hacked! determines is modified.";
  }
}