function magic_drush_help_alter

8.0.x magic.drush.inc magic_drush_help_alter(&$command)
6.x magic.drush.inc magic_drush_help_alter(&$command)
7.x magic.drush.inc magic_drush_help_alter(&$command)
5.x magic.drush.inc magic_drush_help_alter($command)
master magic.drush.inc magic_drush_help_alter(&$command)

Implement hook_drush_help_alter()

Parameters

type $command:

File

tests/hooks/magic_help_alter/magic.drush.inc, line 8

Code

function magic_drush_help_alter(&$command) {
  if ($command['command'] = 'version') {
    $command['options']['magic'] = 'Some magic flag';
  }
}