You are here

function _coder_review_drush_set_option in Coder 7

Helper function to set a command line option.

1 call to _coder_review_drush_set_option()
coder_review_drush_review in coder_review/coder_review.drush.inc
Do the actual review.

File

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

Code

function _coder_review_drush_set_option($option) {
  global $_coder_drush_options;
  if (!isset($_coder_drush_options)) {
    $_coder_drush_options = array();
  }
  $_coder_drush_options[$option] = TRUE;
}