$ drush dl --select ctools grammar_parser autoload
Choose one of the available releases:
[0] : Cancel
[1] : 6.x-1.x-dev - 2011-May-17 - Development
[2] : 6.x-1.8 - 2010-Oct-29 - Supported, Recommended, Installed
[3] : 6.x-1.4 - 2010-May-20 - Security

I have no way of knowing what the question means.

Comments

tsvenson’s picture

Title: dl --select does not say which module » Show project name when using --select
Category: bug » task

My guess is that the --select option wasn't intended to be used for more than one project at a time. However, when you do us it for two or more, it will show you the list with choices one at a time in the order they are entered. Thus in your case it started with ctools.

My suggestion is to change:

Choose one of the available releases:

To:

Choose one of the available releases for "[project name]":

Then no special treatment is needed for if its one or several projects.

greg.1.anderson’s picture

Version: All-versions-4.x-dev »

--select is currently broken in master, but this is a good suggestion all the same.

kotnik’s picture

Status: Active » Needs review
StatusFileSize
new1.22 KB

This patch lets user know for which project drush is selecting options.

greg.1.anderson’s picture

Status: Needs review » Reviewed & tested by the community

That's a very good idea.

moshe weitzman’s picture

Category: task » bug
Status: Reviewed & tested by the community » Patch (to be ported)

Committed to master. Does not apply cleanly to 7.x-4.x. Hopefully someone can to reroll for that.

kotnik’s picture

Status: Patch (to be ported) » Needs review
StatusFileSize
new1.22 KB

Here's a patch that can be applied to 7.x-4.x.

moshe weitzman’s picture

Status: Needs review » Fixed

committed to 4.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.