diff --git a/HISTORY.rst b/HISTORY.rst index cc5ee8f6..5c47efcd 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -17,6 +17,7 @@ PlatformIO Core 6 6.1.7 (2023-??-??) ~~~~~~~~~~~~~~~~~~ +* Show detailed library dependency tree only in the `verbose mode `__ (`issue #4517 `_) * Prevented shell injection when converting INO file to CPP (`issue #4532 `_) 6.1.6 (2023-01-23) diff --git a/platformio/builder/tools/piolib.py b/platformio/builder/tools/piolib.py index 159dec60..c0e2be59 100644 --- a/platformio/builder/tools/piolib.py +++ b/platformio/builder/tools/piolib.py @@ -1161,7 +1161,7 @@ def ConfigureProjectLibBuilder(env): click.echo("Path: %s" % lb.path, nl=False) click.echo(")", nl=False) click.echo("") - if lb.depbuilders: + if lb.verbose and lb.depbuilders: _print_deps_tree(lb, level + 1) project = ProjectAsLibBuilder(env, "$PROJECT_DIR")