You are here

function coder_review_drush_help in Coder 7

Same name and namespace in other branches
  1. 7.2 coder_review/coder_review.drush.inc \coder_review_drush_help()

Implements hook_drush_help().

File

coder_review/coder_review.drush.inc, line 11
Command line utility for coder_review.

Code

function coder_review_drush_help($section) {
  switch ($section) {
    case 'drush:coder-review':
      return dt("usage: drush coder-review [options] [severity] [review] [what]" . "\n  options:" . "\n    summary - display summary information only, no warning output" . "\n    no-empty - hide results that are empty" . "\n    xml - output results as xml" . "\n    checkstyle - output results in Checkstyle xml format" . "\n  severity: show warnings at or above severity level" . "\n     major|minor|critical" . "\n  review: one or more reviews" . "\n     upgrade7x|comment|i18n|security|sql|style" . "\n       * style is the default" . "\n  what:" . "\n    all - review all modules and themes" . "\n      * this is the default if nothing is explicitly specified" . "\n    active - review all active modules and themes" . "\n    core - review all of core, modules, themes, and includes" . "\n    contrib - review all non-core modules" . "\n    default - review 'default' modules and themes, as defined by settings" . "\n    <name> - review specified module or theme name, i.e. taxonomy" . "\n    no-<name> - exclude named modules and themes, i.e. no-taxonomy" . "\n     combine with active|core|contrib|all|default" . "\n    <patch-url> - URL to patch file" . "\n    <file-path> - path to file or multiple files, relative to Drupal installation");
  }
}