function watchdog_drush_help

8.0.x watchdog.drush.inc watchdog_drush_help($section)
6.x watchdog.drush.inc watchdog_drush_help($section)
7.x watchdog.drush.inc watchdog_drush_help($section)
3.x watchdog.drush.inc watchdog_drush_help($section)
4.x watchdog.drush.inc watchdog_drush_help($section)
5.x watchdog.drush.inc watchdog_drush_help($section)
master watchdog.drush.inc watchdog_drush_help($section)

Implementation of hook_drush_help().

File

commands/core/watchdog.drush.inc, line 10

Code

function watchdog_drush_help($section) {
  switch ($section) {
    case 'meta:watchdog:title':
      return dt('Watchdog commands');
    case 'meta:watchdog:summary':
      return dt('Interact with Drupal\'s db logging system.');
    case 'drush:watchdog-list':
      return dt('Show available message types and severity levels. A prompt will ask for a choice to show watchdog messages.');
    case 'drush:watchdog-show':
      return dt('Show watchdog messages. Arguments and options can be combined to configure which messages to show.');
    case 'drush:watchdog-delete':
      return dt('Delete watchdog messages. Arguments or options must be provided to specify which messages to delete.');
  }
}