You are here

function statspro_drush_help in Statistics Pro 6.2

Same name and namespace in other branches
  1. 6 statspro.drush.inc \statspro_drush_help()

Implementation of hook_drush_help().

File

./statspro.drush.inc, line 13
Drush include file for statuspro

Code

function statspro_drush_help($section) {
  switch ($section) {
    case 'drush:statspro':
      return dt('Usage: drush [options] statspro statspro_options

        statspro_options - one of the following: alert, aliases, comments,
          critical, emergency, error, modules, nodes, node_types,
          path_aggregated, pi, sessions, terms, ualert, ucritical, uemergency,
          uerror, upi, users, uwarning or warning

        for options alert, comments, critical, emergency, error, nodes,
          path_aggregated, pi, sessions, ualert, ucritical, uemergency, uerror,
          upi, users, uwarning and warning one extra parameter is recognized for
          period definition. It should be one of the following options: today,
          yesterday, week_current, week_last, week_last2, month_current,
          month_last, month_last3, month_last6, quarter_current, quarter_last,
          year_current, year_last or custom_days

        for custom_days another extra parameter is recognized. It should be an
          integer meanning the number of days to include in the report.');
  }
}