Index: drush.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/drush.inc,v
retrieving revision 1.15
diff -u -r1.15 drush.inc
--- drush.inc	1 Feb 2008 21:56:08 -0000	1.15
+++ drush.inc	28 Feb 2008 09:01:58 -0000
@@ -11,6 +11,8 @@
  * Modules can add commands by implementing hook_drush_command().
  */
 function drush_dispatch($commands) {
+  drush_verbose( 'Dispatching: "'. implode( '" "', $commands).'"');
+	
   // Get a list of all implemented commands.
   $implemented = drush_get_commands();
 
@@ -27,13 +29,17 @@
       $funcargs[] = array_pop($commands);
     }
   }
+  
+  $funcargs = array_reverse($funcargs);
+  drush_verbose( 'args: "'. implode( '" "', $funcargs).'"', 1);
+  
   if ($result) {
-    // Call the callback function of the active command.
-    return call_user_func_array($result['callback'], array_reverse($funcargs));
+  	// Call the callback function of the active command.
+    return call_user_func_array($result['callback'], $funcargs);
   }
   else {
     // Special case: If no command is found, display usage info.
-    return call_user_func_array('drush_usage', array_reverse($funcargs));
+    return call_user_func_array('drush_usage', $funcargs);
   }
 
   return FALSE;
