function drush_print_pipe

8.0.x output.inc drush_print_pipe($message = '')
6.x output.inc drush_print_pipe($message = '')
7.x output.inc drush_print_pipe($message = '')
3.x drush.inc drush_print_pipe($message = '')
4.x drush.inc drush_print_pipe($message = '')
5.x output.inc drush_print_pipe($message = '')
master output.inc drush_print_pipe($message = '')

Stores a message which is printed during drush_shutdown() if in compact mode.

Parameters

$message: The message to print. If $message is an array, then each element of the array is printed on a separate line.

7 calls to drush_print_pipe()
drush_core_help in commands/core/core.drush.inc
This is called if no command or an unknown command is entered.
drush_core_search_status in commands/core/search.drush.inc
drush_core_status in commands/core/core.drush.inc
Command callback. Provides a birds-eye view of the current Drupal installation.
drush_pm_list in commands/pm/pm.drush.inc
Command callback. Show a list of modules and status.
drush_pm_updatecode in commands/pm/updatecode.pm.inc
Command callback. Displays update status info and allows to update installed projects. Pass specific projects as arguments, otherwise we update all that have candidate releases.

... See full list

File

includes/drush.inc, line 829
The drush API implementation and helpers.

Code

function drush_print_pipe($message = '') {
  $buffer = &drush_get_context('DRUSH_PIPE_BUFFER', '');
  if (is_array($message)) {
    $message = implode("\n", $message) . "\n";
  }
  $buffer .= $message;
}