Why no alias record could be found when I'm trying to sql-sync the database? I'm trying to synchronize a production database to two development installations at once, instead of having the production database dumped twice.

In aliases.drush.inc file I'm defining a site-list alias as following:

$aliases['dev'] = array(
  'site-list' =&gt; array('@dev1', '@dev2'),
);

$aliases['prod'] = array(
  'uri' =&gt; 'default/prod',
  'root' =&gt; '/docroot/prod',
  'db-url' =&gt; 'mysqli://root:pass@localhost/prod',
);  
$aliases['dev1'] = array(
  'uri' =&gt; 'default/dev1',
  'root' =&gt; '/docroot/dev1',
  'db-url' =&gt; 'mysqli://root:pass@localhost/dev1',
);
$aliases['dev2'] = array(
  'uri' =&gt; 'default/dev2',
  'root' =&gt; '/docroot/dev2',
  'db-url' =&gt; 'mysqli://root:pass@localhost/dev2',
);  


Running a Drush command against any of these aliases works fine.

Running drush @dev status works fine too, and displays the status for both @dev1 and @dev2.

However, trying to execute drush sql-sync @prod @dev gives me the following error:


  Error: no alias record could be found for @dev 


Do you have any clues?
Seems that this feature is buggy in Drush and will be removed. Check this out: drupal.org/node/1316378