Contributions API

Calling all Drupal developers!

Help us get this on the first page of Digg. DIGG NOW!

Modules in 6

drush_pm_cvs_help

Definition

drush_pm_cvs_help($section)
contributions/drush/drush_pm_cvs/drush_pm_cvs.module, line 6

Description

Implementation of hook_help().

Code

<?php
function drush_pm_cvs_help($section) {
  $help = '';
  switch ($section) {
    case 'drush:pm update':
      $help .= t("--cvsmethod - force cvs updates or checkouts
e.g. --cvsmethod=update will update the module, and try to merge changes,
rather than overwriting them. Any conflicts will need to be resolved manually.
The checkout method is the default for everything except SVN managed projects.\n\n");
    case 'drush:pm install':
      // The --cvsparams option is available on both update and install
      $help .= t("--cvsparams - add options to the cvs command
e.g. --cvsparams=\"-C\" (note that quotes are required) will overwrite all
changes when updating an SVN managed project.\n");
    return $help;
  }
}
?>