function sql_drush_help

8.0.x sql.drush.inc sql_drush_help($section)
6.x sql.drush.inc sql_drush_help($section)
7.x sql.drush.inc sql_drush_help($section)
3.x sql.drush.inc sql_drush_help($section)
4.x sql.drush.inc sql_drush_help($section)
5.x sql.drush.inc sql_drush_help($section)
master sql.drush.inc sql_drush_help($section)

Implementation of hook_drush_help().

File

commands/sql/sql.drush.inc, line 10
Drush sql commands

Code

function sql_drush_help($section) {
  switch ($section) {
    case 'drush:sql-conf':
      return dt('Show database connection details.');
    case 'drush:sql-connect':
      return dt('A string which connects to the current database.');
    case 'drush:sql-cli':
      return dt('Quickly enter the mysql command line.');
    case 'drush:sql-dump':
      return dt('Prints the whole database to STDOUT or save to a file.');
    case 'drush:sql-query':
      return dt("Usage: drush [options] sql-query <query>...\n<query> is a SQL statement, which can alternatively be passed via STDIN. Any additional arguments are passed to the mysql command directly.");
    case 'drush:sql-sync':
      return dt("Usage: drush [options] sql-sync <source_alias> <target_alias>.\n <source_alias> and <target_alias> are site-aliases, or names of directories under \'sites\'. These determine from where and to where you want your database copied.");
  }
}