summaryrefslogtreecommitdiff
path: root/buildstream/_frontend/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_frontend/cli.py')
-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.