You are here

function hacked_drush_help_alter in Hacked! 7.2

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

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

File

./hacked.drush.inc, line 291

Code

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