function image_drush_help_alter

8.0.x image.drush.inc image_drush_help_alter(&$command)
7.x image.drush.inc image_drush_help_alter(&$command)
master image.drush.inc image_drush_help_alter(&$command)

Implements hook_drush_help_alter().

File

commands/core/image.drush.inc, line 53
Image module's drush integration.

Code

function image_drush_help_alter(&$command) {
  // Drupal 8+ customizations.
  if ($command['command'] == 'image-derive' && drush_drupal_major_version() >= 8) {
    unset($command['examples']);
    $command['examples']['drush image-derive thumbnail core/themes/bartik/logo.png'] = 'Save thumbnail sized derivative of logo image.';
  }
}