From e0be84579334cdbfc92427bf7324b2bdadda6029 Mon Sep 17 00:00:00 2001
From: Greg Anderson <greg.1.anderson@greenknowe.org>
Date: Wed, 17 Jul 2013 20:34:08 -0700
Subject:  Greg Anderson: Generated with Drush iq

---
 includes/command.inc   |    5 +++++
 includes/sitealias.inc |    1 +
 2 files changed, 6 insertions(+)

diff --git a/includes/command.inc b/includes/command.inc
index 61a52ff..2dc7e85 100644
--- a/includes/command.inc
+++ b/includes/command.inc
@@ -1574,6 +1574,11 @@ function drush_sitealias_command_default_options($site_record, $prefix, $command
   return FALSE;
 }

+function drush_command_set_command_specific_options($prefix, $command = NULL) {
+  $command_default_options = drush_get_option($prefix . 'command-specific', array());
+  return drush_command_set_command_specific($command_default_options, $command);
+}
+
 function drush_command_set_command_specific($command_default_options, $command = NULL) {
   if (!$command) {
     $command = drush_get_command();
diff --git a/includes/sitealias.inc b/includes/sitealias.inc
index 2745516..f8cc69a 100644
--- a/includes/sitealias.inc
+++ b/includes/sitealias.inc
@@ -1811,6 +1811,7 @@ function drush_sitealias_evaluate_path($path, &$additional_options, $local_only
     // escaped per the LOCAL rules, without regard to the remote platform type.
     $site_alias_settings = drush_sitealias_get_record($alias);
     if (!empty($command_specific_prefix)) {
+      drush_command_set_command_specific_options($command_specific_prefix);
       drush_sitealias_command_default_options($site_alias_settings, $command_specific_prefix);
     }
   }
--
1.7.9.5

