<#5441 Expand search for targets to suggest furthe...
# github-notifications
c
#5441 Expand search for targets to suggest further when targets not found Issue created by baroquebobcat When there was no matching target / BUILD file, maybe the suggestions could include targets down one level. This'd be particularly when using root targets. A couple examples.
Copy code
$ ./pants list zinc

Unknown goal(s): zinc
$ ./pants list :zinc
//:zinc
Copy code
$ ./pants list 3rdparty/python/setuptools --no-print-exception-stacktrace
Exception caught: (<class 'pants.build_graph.address_lookup_error.AddressLookupError'>)

Exception message: Path "3rdparty/python/setuptools" contains no BUILD files.
$ ./pants list 3rdparty/python:setuptools --no-print-exception-stacktrace
3rdparty/python:setuptools
pantsbuild/pants