? drush-ishacked.patch ? includes/table.inc Index: commands/core/core.drush.inc =================================================================== RCS file: /cvs/drupal/contributions/modules/drush/commands/core/core.drush.inc,v retrieving revision 1.30 diff -u -p -r1.30 core.drush.inc --- commands/core/core.drush.inc 2 Jun 2009 23:48:31 -0000 1.30 +++ commands/core/core.drush.inc 19 Aug 2009 19:13:02 -0000 @@ -153,9 +157,11 @@ function drush_core_help() { $rows = array(); foreach($commands as $key => $command) { - if (!array_key_exists($key, $printed_rows)) { - $rows[$key] = array($key, $commands[$key]['description']); - $pipe[] = "\"$key\""; + if (!$command['is_alias']) { + if (!array_key_exists($key, $printed_rows)) { + $rows[$key] = array($key, $commands[$key]['description']); + $pipe[] = "\"$key\""; + } } } drush_print_table($rows, FALSE, array(0 => 20)); Index: includes/command.inc =================================================================== RCS file: /cvs/drupal/contributions/modules/drush/includes/command.inc,v retrieving revision 1.36 diff -u -p -r1.36 command.inc --- includes/command.inc 27 May 2009 19:38:12 -0000 1.36 +++ includes/command.inc 19 Aug 2009 19:13:02 -0000 @@ -112,6 +112,12 @@ function drush_get_commands() { drush_enforce_requirement_core($command); drush_enforce_requirement_drupal_dependencies($command); $commands[$key] = $command; + if (isset($command['aliases']) && count($command['aliases'])) { + foreach ($command['aliases'] as $alias) { + $commands[$alias] = $command; + $commands[$alias]['is_alias'] = TRUE; + } + } } } }