diff options
author | Jürg Billeter <j@bitron.ch> | 2019-01-22 06:56:28 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-01-24 14:37:28 +0100 |
commit | e03dd5fc594025817b0da897fe94283a4faa180b (patch) | |
tree | f59c65bd56c97a6d4c6df210478283871dbca7ef | |
parent | 24bd8994180fbf1b4bc00754d62ccc31ed6136ee (diff) | |
download | buildstream-e03dd5fc594025817b0da897fe94283a4faa180b.tar.gz |
_frontend/cli.py: Guess element also for bst build --all
There is no reason to disallow guess_element() for bst build --all.
-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,) |