summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/docs/environments.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/spack/docs/environments.rst b/lib/spack/docs/environments.rst
index 5c1089351b..336d574bd7 100644
--- a/lib/spack/docs/environments.rst
+++ b/lib/spack/docs/environments.rst
@@ -382,11 +382,12 @@ the Environment.
Loading
^^^^^^^
-Once an environment has been installed, the following creates a load script for it:
+Once an environment has been installed, the following creates a load
+script for it:
.. code-block:: console
- $ spack env myenv loads -r
+ $ spack env loads -r
This creates a file called ``loads`` in the environment directory.
Sourcing that file in Bash will make the environment available to the