diff options
author | Florian Pelz <pelzflorian@pelzflorian.de> | 2024-11-18 15:20:26 +0100 |
---|---|---|
committer | Florian Pelz <pelzflorian@pelzflorian.de> | 2024-11-19 11:25:48 +0100 |
commit | d6b8679784f57c6a71ef7d6ccab19d87f4c38721 (patch) | |
tree | 3f695d9403b0b43f7e0e1609b0ac6f80e5e95ea1 /doc/guix.texi | |
parent | 1bf01c970dbe9c205897fadfb9f4854d0d4ab4cd (diff) | |
download | guix-d6b8679784f57c6a71ef7d6ccab19d87f4c38721.tar.gz guix-d6b8679784f57c6a71ef7d6ccab19d87f4c38721.zip |
doc: Explain ‘--’ syntax of ‘guix shell’ before giving examples.
This paragraph is present in the ‘guix environment’ docs. I presume
it clarifies ‘guix shell’ for newcomers as well.
* doc/guix.texi (Invoking guix shell): Take over an introductory
paragraph from ‘guix environment’ and use it for ‘guix shell’.
Change-Id: I06280516ad3436260114b074c5f325e6984e9c76
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index ba4bd2cc79..f71f0b6561 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -5933,6 +5933,10 @@ The general syntax is: guix shell [@var{options}] [@var{package}@dots{}] @end example +Sometimes an interactive shell session is not desired. An arbitrary +command may be invoked by placing the @code{--} token to separate the +command from the rest of the arguments. + The following example creates an environment containing Python and NumPy, building or downloading any missing package, and runs the @command{python3} command in that environment: |