function drush_core_self_update

4.x core.drush.inc drush_core_self_update()
5.x core.drush.inc drush_core_self_update()

File

commands/core/core.drush.inc, line 790
Core drush commands.

Code

function drush_core_self_update() {
  drush_set_option('select', TRUE);
  return drush_invoke('pm-download', 'drush');
}