function drush_complete_trailing_space

8.0.x complete.inc drush_complete_trailing_space(&$item, $key)
6.x complete.inc drush_complete_trailing_space(&$item, $key)
7.x complete.inc drush_complete_trailing_space(&$item, $key)
5.x complete.inc drush_complete_trailing_space(&$item, $key)
master complete.inc drush_complete_trailing_space(&$item, $key)

Helper callback function that adds a trailing space to completes in an array.

2 string references to 'drush_complete_trailing_space'
drush_complete_rebuild in includes/complete.inc
Rebuild and cache completions for everything except command arguments.
drush_complete_rebuild_arguments in includes/complete.inc
Rebuild and cache completions for command arguments.

File

includes/complete.inc, line 444
Provide completion output for shells.

Code

function drush_complete_trailing_space(&$item, $key) {
  if (!is_array($item)) {
    $item = (string) $item . ' ';
  }
}