summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelos Evripiotis <angelos.evripiotis@gmail.com>2019-01-18 18:56:21 +0000
committerAngelos Evripiotis <angelos.evripiotis@gmail.com>2019-01-18 18:56:21 +0000
commit9911023f2e5432b5f7a390087879588d0c2e057c (patch)
tree9818ae3e241c1b9a5ef011f7656f7fa71512dd9e
parent4236bcc7a2a1f13fd64a4262bee25c3e0e2b0d5a (diff)
parent951a8df1e7155209556dae71164232a3617ec7b8 (diff)
downloadbuildstream-9911023f2e5432b5f7a390087879588d0c2e057c.tar.gz
Merge branch 'aevri/shell_separator_hint' into 'master'
cli.py: add a hint about '--' to 'bst shell' help See merge request BuildStream/buildstream!1078
-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.