alias rake?="rake -T | g? $1"
g?is an alias for
grep, for reasons I don't recall.)
Update: Doh! Jamie tells this functionality's already in rake.
rake -T dbgets you exactly the same thing.
But Gavin Stark points out that Jamie missed a subtle difference between the two.