@@ -370,7 +370,7 @@ overhead.
370370### Synopsis
371371
372372```
373- bant v0.2.0+ <http://bant.build/>
373+ bant v0.2.xx <http://bant.build/>
374374Copyright (c) 2024-2025 Henner Zeller. This program is free software; GPL 3.0.
375375Usage: bant [options] <command> [bazel-target-pattern...]
376376Options
@@ -423,7 +423,16 @@ Commands (unique prefix sufficient):
423423 → 2 column table: (target, dependency*)
424424 has-dependent : List cc library targets and the libraries that depend on it
425425 → 2 column table: (target, dependent*)
426- lib-headers : Print headers provided by cc_library()s matching pattern.
426+ target-hdrs : Print hdrs mentioned in targets (-P: only physical files)
427+ → 2 column table: (header-filename, target)
428+ target-srcs : Print srcs mentioned in targets (-P: only physical files)
429+ → 2 column table: (srcs-filename, target)
430+ target-data : Print data mentioned in targets (-P: only physical files)
431+ → 2 column table: (data-filename, target)
432+ lib-headers : Like target-hdrs, but all reachable paths expanded with all
433+ combinations of includes = [], include_prefix, etc.
434+ So same header can show up multiple times with different
435+ paths. This is the relevant list used by dwyu.
427436 → 2 column table: (header-filename, cc-library-target)
428437 genrule-outputs: Print generated files by genrule()s matching pattern.
429438 → 2 column table: (filename, genrule-target)
0 commit comments