You are here

function classified_drush_help in Classified Ads 6.3

Same name and namespace in other branches
  1. 7.3 classified.drush.inc \classified_drush_help()

Implements hook_drush_help().

Parameters

string $section: The name of a section.

Return value

string The translated help string.

File

./classified.drush.inc, line 81
Drush plugin for classified.module

Code

function classified_drush_help($section) {
  switch ($section) {
    case 'drush:classified-notify':
      $ret = dt("Generate notification information for one of the three events in a Classified Ad lifetime.");
      break;
    case 'meta:classified:title':
      $ret = dt('Classified Ads commands');
      break;

    // Only used for drush help --filter without a category.
    case 'meta:classified:summary':
      $ret = dt('Expire or purge ads, invoke notification mechanisms.');
      break;
    default:
      $ret = NULL;
      break;
  }
  return $ret;
}