function drush_user_abort

8.0.x drush_user_abort($msg = NULL)
6.x drush_user_abort($msg = NULL)
7.x drush_user_abort($msg = NULL)
4.x drush_user_abort($msg = NULL)
5.x drush_user_abort($msg = NULL)
master drush_user_abort($msg = NULL)

Exit due to user declining a confirmation prompt.

Usage: return drush_user_abort();

Related topics

34 calls to drush_user_abort()
drush_cache_command_clear in commands/core/
Command callback for drush cache-clear.
drush_config_edit in commands/core/
Edit command callback.
drush_config_export in commands/core/
Command callback: Export config to specified directory (usually sync).
drush_config_import in commands/core/
Command callback. Import from specified config directory (defaults to sync).
drush_core_config in commands/core/
Command callback. Edit drushrc and alias files.

... See full list


includes/, line 1583
The drush API implementation and helpers.


function drush_user_abort($msg = NULL) {
  drush_set_context('DRUSH_USER_ABORT', TRUE);
  drush_log($msg ? $msg : dt('Cancelled.'), LogLevel::CANCEL);
  return FALSE;