function user_drush_help_alter

8.0.x user.drush.inc user_drush_help_alter(&$command)
6.x user.drush.inc user_drush_help_alter(&$command)
7.x user.drush.inc user_drush_help_alter(&$command)
5.x user.drush.inc user_drush_help_alter(&$command)
master user.drush.inc user_drush_help_alter(&$command)

Implements hook_drush_help_alter().

File

commands/user/user.drush.inc, line 218
Drush User Management commands

Code

function user_drush_help_alter(&$command) {
  // Drupal 7+ only options.
  if ($command['command'] == 'user-cancel' && drush_drupal_major_version() >= 7) {
    $command['options']['delete-content'] = 'Delete all content created by the user';
    $command['examples']['drush user-cancel --delete-content username'] = 'Cancel the user account with the name username and delete all content created by that user.';
  }
}