summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2020-04-22 13:04:17 -0700
committerGitHub <noreply@github.com>2020-04-22 13:04:17 -0700
commit63ff1219807242bbb4bea5767fb2d5fd6c632331 (patch)
tree0b157fd48645db9e80663f5c89444d8faf5157fe /lib
parentb874b3e1fe90d48bdcb0058b35082114a81b9e21 (diff)
downloadspack-63ff1219807242bbb4bea5767fb2d5fd6c632331.tar.gz
spack-63ff1219807242bbb4bea5767fb2d5fd6c632331.tar.bz2
spack-63ff1219807242bbb4bea5767fb2d5fd6c632331.tar.xz
spack-63ff1219807242bbb4bea5767fb2d5fd6c632331.zip
spack environments documentation: -E -> -e (#16242)
To specify an environment for a comment, the user can specify "spack -e <env>". The documentation incorrectly specified "-E" (which is actually used to ignore any implicit use of environments).
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/environments.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/docs/environments.rst b/lib/spack/docs/environments.rst
index a51c3012fd..c26f81d914 100644
--- a/lib/spack/docs/environments.rst
+++ b/lib/spack/docs/environments.rst
@@ -281,7 +281,7 @@ in the lockfile, nor does it install the spec.
The ``spack add`` command is environment aware. It adds to the
currently active environment. All environment aware commands can also
-be called using the ``spack -E`` flag to specify the environment.
+be called using the ``spack -e`` flag to specify the environment.
.. code-block:: console
@@ -292,7 +292,7 @@ or
.. code-block:: console
- $ spack -E myenv add python
+ $ spack -e myenv add python
.. _environments_concretization: