function drush_help_section_default_formatter

8.0.x help.drush.inc drush_help_section_default_formatter($command, &$help_attributes)
6.x help.drush.inc drush_help_section_default_formatter($command, &$help_attributes)
7.x help.drush.inc drush_help_section_default_formatter($command, &$help_attributes)
4.x drush.inc drush_help_section_default_formatter($command, &$help_attributes)
5.x help.drush.inc drush_help_section_default_formatter($command, &$help_attributes)
master helpsingle.drush.inc drush_help_section_default_formatter($command, &$help_attributes)

The default section formatter. Replaces '[command]' with the command name.

1 call to drush_help_section_default_formatter()
drush_help_section_formatter_options in commands/core/help.drush.inc
The options section formatter. Adds a "--" in front of each item label. Also handles short-form and example-value components in the help attributes.
1 string reference to 'drush_help_section_default_formatter'
drush_format_help_section in commands/core/help.drush.inc
Format one named help section from a command record

File

commands/core/help.drush.inc, line 311

Code

function drush_help_section_default_formatter($command, &$help_attributes) {
  // '[command]' is a token representing the current command. @see pm_drush_engine_version_control().
  $help_attributes['label'] = str_replace('[command]', $command['command'], $help_attributes['label']);
}