mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
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
This commit is contained in:
parent
1bf01c970d
commit
d6b8679784
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue