function drush_append_negation_options

8.0.x drush_append_negation_options($allowed_options)
6.x drush_append_negation_options($allowed_options)
7.x drush_append_negation_options($allowed_options)
5.x drush_append_negation_options($allowed_options)
master drush_append_negation_options($allowed_options)

Related topics

1 call to drush_append_negation_options()
_drush_verify_cli_options in includes/
Fail with an error if the user specified options on the command line that are not documented in the current command record. Also verify that required options are present.


includes/, line 614
The drush command engine.


function drush_append_negation_options($allowed_options) {
  $new_allowed = $allowed_options;
  foreach ($allowed_options as $option) {
    $new_allowed[] = 'no-' . $option;
  return $new_allowed;