summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelos Evripiotis <angelos.evripiotis@gmail.com>2019-01-16 17:46:31 +0000
committerAngelos Evripiotis <angelos.evripiotis@gmail.com>2019-01-18 11:36:52 +0000
commitd90b42fa421e413a609c6d9093ac5564ed3d95f0 (patch)
treec38c8b35a35fa8b7fb62316d5bcc6ef74ac0f58a
parent2cb37a7e8f8ba9e44ad0617fd0081b64755c9de0 (diff)
downloadbuildstream-aevri/shell_separator_hint.tar.gz
cli.py: add a hint about '--' to 'bst shell' helpaevri/shell_separator_hint
-rw-r--r--buildstream/_frontend/cli.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/buildstream/_frontend/cli.py b/buildstream/_frontend/cli.py
index b3e48d583..a0a01364d 100644
--- a/buildstream/_frontend/cli.py
+++ b/buildstream/_frontend/cli.py
@@ -554,6 +554,12 @@ def shell(app, element, sysroot, mount, isolate, build_, cli_buildtree, command)
element, assuming it has already been built and all required
artifacts are in the local cache.
+ Use '--' to separate a command from the options to bst,
+ otherwise bst may respond to them instead. e.g.
+
+ \b
+ bst shell example.bst -- df -h
+
Use the --build option to create a temporary sysroot for
building the element instead.