[GRADLE-1493] Execution of "tasks" task displays instructions that are clearly wrong Created: 25/Apr/11  Updated: 04/Jan/13  Resolved: 27/Apr/11

Status: Resolved
Project: Gradle
Affects Version/s: 1.0-milestone-2
Fix Version/s: None

Type: Bug
Reporter: Blaine Simpson Assignee: Peter Niederwieser
Resolution: Not A Bug Votes: 1


 Description   

At the bottom of out put from "gradle tasks" is:

To see all tasks and more detail, run with -all

There is no such switch. If the poor user tries to follow the instructions, they are rewarded with error messages.

I set priority to Major even though there is no direct functional impact, because I think the impact to new users is "major". Help tasks such as "tasks" are critical for new users, and instructing new users to do things wrong is a great way to turn off tentative users from Gradle.



 Comments   
Comment by Peter Niederwieser [ 27/Apr/11 ]

The instructions say:

To see all tasks and more detail, run with --all.

Notice that it's --all not -all. gradle tasks --all works just fine.

Comment by Blaine Simpson [ 28/Apr/11 ]

I apologize. I had attempted to test both before and after "tasks", but must have accidentally used a single hyphen when I used it after. Thanks for explaining.

Generated at Wed Jun 30 11:56:54 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.