pantsbuild/pants — pull request #251 by gmalmquist (2014-06-17 22:16:10+00:00)
Title: Changed the error message received when specifying an invalid target in ...

...a BUILD file to actually be helpful.

Previously pants just choked with a ValueError stating that the spec was not found in the BUILD file. Now it actually lists valid specs that are contained in the build file, so that the user can recover easily without inspecting the BUILD file's contents.

See issue: https://github.com/pantsbuild/pants/issues/224