? includes/table.inc
Index: commands/core/core.drush.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/commands/core/core.drush.inc,v
retrieving revision 1.80
diff -u -p -r1.80 core.drush.inc
--- commands/core/core.drush.inc	5 Feb 2010 03:47:57 -0000	1.80
+++ commands/core/core.drush.inc	23 Feb 2010 19:06:12 -0000
@@ -368,7 +368,9 @@ function _core_site_status_table() {
     if ($site_root = drush_get_context('DRUSH_DRUPAL_SITE_ROOT')) {
       $status_table['Site Path'] = $site_root;
       $status_table['Site URI'] = drush_get_context('DRUSH_URI');
-      $status_table['File Directory Path'] = file_directory_path();
+      if (function_exists('file_directory_path')) {
+        $status_table['File Directory Path'] = file_directory_path();
+      }
       if ($creds = drush_get_context('DRUSH_DB_CREDENTIALS')) {
         $status_table['Database Driver'] = $creds['driver'];
         $status_table['Database Hostname'] = $creds['host'];
@@ -397,6 +399,7 @@ function _core_site_status_table() {
     $status_table['PHP configuration'] = php_ini_loaded_file();
   }
   $status_table['Drush Version'] = DRUSH_VERSION;
+  $status_table['Drush configuration'] = implode(' ', drush_get_context_options('context-path'));
   return $status_table;
 }
 
Index: includes/context.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/includes/context.inc,v
retrieving revision 1.21
diff -u -p -r1.21 context.inc
--- includes/context.inc	22 Feb 2010 13:36:54 -0000	1.21
+++ includes/context.inc	23 Feb 2010 19:06:12 -0000
@@ -140,7 +140,7 @@ function drush_load_config_file($context
 
   if (file_exists($config)) {
     drush_log(dt('Loading drushrc "!config" into "!context" scope.', array('!config' => realpath($config), '!context' => $context)), 'bootstrap');
-    $options['context-path'][$context] = $config;
+    $options['context-path'] = realpath($config);
     require_once($config);
 
     // There are certain options such as 'site-aliases' and 'command-specific'
@@ -224,7 +224,7 @@ function drush_set_context($context, $va
  *
  * @param context
  *   Optional. Any of the default defined contexts.
- @
+ *
  * @return
  *   If context is not supplied, the entire context cache will be returned.
  *   Otherwise only the requested context will be returned.
@@ -334,6 +334,30 @@ function drush_get_option($option, $defa
 }
 
 /**
+ * Get all of the values for an option in every context.
+ *
+ * @param option
+ *   The name of the option to get
+ * @return
+ *   An array whose key is the context name and value is
+ *   the specific value for the option in that context.
+ */
+function drush_get_context_options($option) {
+  $result = array();
+  
+  $contexts = drush_context_names();
+  foreach ($contexts as $context) {
+    $value = _drush_get_option($option, drush_get_context($context));
+
+    if ($value !== null) {
+      $result[$context] = $value;
+    }
+  }
+  
+  return $result;
+}
+
+/**
  * Retrieves a collapsed list of all options
  */
 function drush_get_merged_options() {
