```$ ./pants help-advanced | egrep -A2 '(spec-excl...
# general
w
Copy code
$ ./pants help-advanced | egrep -A2 '(spec-excludes)|(exclude-target-regexp)'
--exclude-target-regexp=<regexp> (--exclude-target-regexp=<regexp>) ... (default: [])
    Exclude targets that match these regexes. Useful with ::, to ignore broken
    BUILD files.
--
--spec-excludes="['str1','str2',...]" (--spec-excludes="['str1','str2',...]") ... (default: ['.git','dist','.idea','.pants.d'])
    Ignore these paths when evaluating the command-line target specs.  Useful
    with ::, to avoid descending into unneeded directories.