diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-06-25 01:44:27 -0400 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-06-25 03:04:58 -0400 |
commit | 1d84bb80257daa9ddca7018999c254468c138498 (patch) | |
tree | 626d6fe968c6692b1572202e286a030e8b11ad84 /doc | |
parent | 4b499ba35a861560aa8dc53f4c2ed4cf44f2eabd (diff) | |
download | buildstream-1d84bb80257daa9ddca7018999c254468c138498.tar.gz |
doc/source/tutorial/running-commands.rst: Added tip about using `--` in `bst shell`
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/tutorial/running-commands.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/source/tutorial/running-commands.rst b/doc/source/tutorial/running-commands.rst index 30c60b3f3..1708145d8 100644 --- a/doc/source/tutorial/running-commands.rst +++ b/doc/source/tutorial/running-commands.rst @@ -208,6 +208,16 @@ the ``hello.bst`` element. This was done by staging all of the dependencies of with all of the dependencies was staged and ready, we ran the ``hello`` command from within the build sandbox environment. +.. tip:: + + When specifying a command for :ref:`bst shell <invoking_shell>` to run, + we always specify ``--`` first. This is a commonly understood shell syntax + to indicate that the remaining arguments are to be treated literally. + + Specifying ``--`` is optional and disambiguates BuildStream's arguments + and options from those of the program being run by + :ref:`bst shell <invoking_shell>`. + Summary ------- |