Index: includes/command.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/includes/command.inc,v
retrieving revision 1.19
diff -u -p -r1.19 command.inc
--- includes/command.inc	26 Mar 2009 03:20:27 -0000	1.19
+++ includes/command.inc	29 Mar 2009 18:51:06 -0000
@@ -24,6 +24,7 @@ function drush_parse_args() {
 
   $arguments = array();
 
+  $options = array();
   for ($i = 1; $i < count($args); $i++) {
     $opt = $args[$i];
     // Is the arg an option (starting with '-')?
Index: includes/context.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/includes/context.inc,v
retrieving revision 1.3
diff -u -p -r1.3 context.inc
--- includes/context.inc	26 Mar 2009 01:41:21 -0000	1.3
+++ includes/context.inc	29 Mar 2009 18:51:06 -0000
@@ -90,7 +90,7 @@ function _drush_config_file($context) {
   // TODO: This really should be a proper, system-wide location.
   $configs['drush'] = dirname(__FILE__) . '/../drushrc.php';
 
-  return $configs[$context];
+  return array_key_exists($context, $configs) ? $configs[$context] : NULL;
 }
 
 
