How to pipe output of "drush sql-dump" without warnings
Seems -q should do the job.


$options['quiet'] = array(
  'short-form' =&gt; 'q',
  'description' =&gt; 'Suppress non-error messages.',
);



Source: function drush_get_global_options