diff options
-rw-r--r-- | buildstream/_frontend/cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_frontend/cli.py b/buildstream/_frontend/cli.py index fd088b63c..36711e7fb 100644 --- a/buildstream/_frontend/cli.py +++ b/buildstream/_frontend/cli.py @@ -353,7 +353,7 @@ def build(app, elements, all_, track_, track_save, track_all, track_except, trac click.echo("WARNING: --track-save is deprecated, saving is now unconditional", err=True) with app.initialized(session_name="Build"): - if not all_ and not elements: + if not elements: guessed_target = app.context.guess_element() if guessed_target: elements = (guessed_target,) |