? commands/user
? includes/table.inc
Index: commands/pm/pm.drush.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/commands/pm/pm.drush.inc,v
retrieving revision 1.70
diff -u -p -r1.70 pm.drush.inc
--- commands/pm/pm.drush.inc	2 Jan 2010 06:11:24 -0000	1.70
+++ commands/pm/pm.drush.inc	8 Jan 2010 01:19:32 -0000
@@ -38,23 +38,23 @@ define('DRUSH_PM_NOT_FOUND', 104);
  */
 function pm_drush_help($section) {
   switch ($section) {
-    case 'drush:enable':
+    case 'drush:pm-enable':
       return dt('Enable one or more modules. Enables dependant modules as well.');
-    case 'drush:disable':
+    case 'drush:pm-disable':
       return dt('Disable one or more modules. Disables dependant modules as well.');
-    case 'drush:uninstall':
+    case 'drush:pm-uninstall':
       return dt('Uninstall one or more modules. Modules must be disabled first.');
-    case 'drush:statusmodules':
+    case 'drush:pm-statusmodules':
       return dt('Show enabled/disabled status for modules.');
-    case 'drush:refresh':
+    case 'drush:pm-refresh':
       return dt('Refresh update status information. Run this before running update or updatecode commands.');
-    case 'drush:updatecode':
+    case 'drush:pm-updatecode':
       return dt("Display available update information and allow updating of all installed project code to the specified version (or latest by default). Note: The user is asked to confirm before the actual update. Use the --yes option to answer yes automatically.");
-    case 'drush:update':
+    case 'drush:pm-update':
       return dt("Display available update information and allow updating of all installed projects to the specified version (or latest by default), followed by applying any database updates required (as with running update.php). Note: The user is asked to confirm before the actual update. Use the --yes option to answer yes automatically.");
-      case 'drush:info':
+      case 'drush:pm-info':
       return dt("View all releases for a given project (modules, themes, profiles, translations). Useful for deciding which version to install/update.");
-    case 'drush:download':
+    case 'drush:pm-download':
       return dt("Quickly download projects (modules, themes, profiles, translations) from drupal.org. Automatically figures out which module version you want based on its latest release, or you may specify a particular version. Downloads drupal core as well.  If no destination is provided, defaults to a site specific modules directory if available, then to sites/all/modules if available, then to the current working directory.");
   }
 }
@@ -74,32 +74,35 @@ function pm_drush_command() {
     ),
   );
 
-  $items['enable'] = array(
+  $items['pm-enable'] = array(
     'description' => 'Enable one or more modules.',
     'arguments' => array(
       'modules' => 'A space delimited list of modules.',
     ),
     'aliases' => array('en'),
+    'deprecated-aliases' => array('enable'),
   );
-  $items['disable'] = array(
+  $items['pm-disable'] = array(
     'description' => 'Disable one or more modules.',
     'arguments' => array(
       'modules' => 'A space delimited list of modules.',
     ),
     'aliases' => array('dis'),
+    'deprecated-aliases' => array('disable'),
   );
   // Install command is reserved for the download and enable of projects including dependencies.
   // @see http://drupal.org/node/112692 for more information.
   // $items['install'] = array(
   //     'description' => 'Download and enable one or more modules',
   //   );
-  $items['uninstall'] = array(
+  $items['pm-uninstall'] = array(
     'description' => 'Uninstall one or more modules.',
     'arguments' => array(
       'modules' => 'A space delimited list of modules.',
     ),
+    'deprecated-aliases' => array('uninstall'),
   );
-  $items['statusmodules'] = array(
+  $items['pm-statusmodules'] = array(
     'description' => 'Show module enabled/disabled status',
     'callback' => 'pm_module_manage',
     'callback arguments' => array(array(), FALSE),
@@ -107,13 +110,15 @@ function pm_drush_command() {
       '--pipe' => 'Returns a space delimited list of enabled modules.',
     ),
     'aliases' => array('sm'),
+    'deprecated-aliases' => array('statusmodules'),
   );
-  $items['refresh'] = array(
+  $items['pm-refresh'] = array(
     'description' => 'Refresh update status information',
     'drupal dependencies' => array($update),
     'aliases' => array('rf'),
+    'deprecated-aliases' => array('refresh'),
   );
-  $items['updatecode'] = array(
+  $items['pm-updatecode'] = array(
     'description' => 'Update your project code',
     'drupal dependencies' => array($update),
     'arguments' => array(
@@ -123,8 +128,9 @@ function pm_drush_command() {
       '--backup-dir' => 'Specify a directory to backup packages into, defaults to a backup directory within your Drupal root.',
     ),
     'aliases' => array('upc'),
+    'deprecated-aliases' => array('updatecode'),
   ) + $engines;
-  $items['update'] = array(
+  $items['pm-update'] = array(
     'description' => 'Update your project code and apply any database updates required (update.php)',
     'drupal dependencies' => array($update),
     'arguments' => array(
@@ -134,8 +140,9 @@ function pm_drush_command() {
       '--backup-dir' => 'Specify a directory to backup packages into, defaults to a backup directory within your Drupal root.',
     ),
     'aliases' => array('up'),
+    'deprecated-aliases' => array('update'),
   );
-  $items['info'] = array(
+  $items['pm-info'] = array(
     'description' => 'Release information for a project',
     'drupal dependencies' => array($update),
     'arguments' => array(
@@ -144,8 +151,9 @@ function pm_drush_command() {
     'examples' => array(
       'drush info cck zen' => 'View releases for cck and Zen projects.',
     ),
+    'deprecated-aliases' => array('info'),
   );
-  $items['download'] = array(
+  $items['pm-download'] = array(
     'description' => 'Download core Drupal and projects like CCK, Zen, etc.',
     'examples' => array(
       'drush dl' => 'Download latest version of Drupal core.',
@@ -164,7 +172,8 @@ function pm_drush_command() {
       '--variant' => "Only useful for install profiles. Possible values: 'core', 'no-core', 'make'.",
     ),
     'bootstrap' => DRUSH_BOOTSTRAP_DRUSH, // No bootstrap at all.
-    'aliases' => array('dl')
+    'aliases' => array('dl'),
+    'deprecated-aliases' => array('download'),
   ) + $engines;
   return $items;
 }
