You are here

function dba_drush_help in Database Administration 7

Implementation of hook_drush_help().

This function is called whenever a drush user calls 'drush help <name-of-your-command>'

Parameters

A string with the help section (prepend with 'drush:'):

Return value

A string with the help text for your command.

File

./dba.drush.inc, line 32
Drush support for dba.

Code

function dba_drush_help($section) {
  switch ($section) {
    case 'drush:dba':
      return dt("Lists database tables. Usage: 'drush dba'.");
    case 'drush:sqlreport':
      return dt("Generates a statistical report about your SQL database server. Usage: 'drush dba sqlreport'.");
  }
}