summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStephen Herbein <SteVwonder@users.noreply.github.com>2018-07-31 10:41:41 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2018-07-31 10:41:41 -0700
commitcdbc5457933f8c7df63f20f6f60f229e54fac9cc (patch)
tree81aa99861cfea9c88cc3fdc40a672bb5e3dc5bcd /lib
parentf7761d108159ba914748a2ab28a169bcc389cf18 (diff)
downloadspack-cdbc5457933f8c7df63f20f6f60f229e54fac9cc.tar.gz
spack-cdbc5457933f8c7df63f20f6f60f229e54fac9cc.tar.bz2
spack-cdbc5457933f8c7df63f20f6f60f229e54fac9cc.tar.xz
spack-cdbc5457933f8c7df63f20f6f60f229e54fac9cc.zip
docs: update `spack view` argument synatx (#8839)
The `--dependencies` and `--exclude` flags are now arguments to the `spack view` comand rather than the `spack view symlink` command.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/workflows.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/docs/workflows.rst b/lib/spack/docs/workflows.rst
index b3bdaf3291..18b546aa30 100644
--- a/lib/spack/docs/workflows.rst
+++ b/lib/spack/docs/workflows.rst
@@ -514,7 +514,7 @@ dependencies, but not ``appsy`` itself:
.. code-block:: console
- $ spack view symlink --dependencies yes --exclude appsy appsy
+ $ spack view --dependencies yes --exclude appsy symlink /path/to/MYVIEW/ appsy
Alternately, you wish to create a view whose purpose is to provide
binary executables to end users. You only need to include
@@ -523,7 +523,7 @@ dependencies. In this case, you might use:
.. code-block:: console
- $ spack view symlink --dependencies no cmake
+ $ spack view --dependencies no symlink /path/to/MYVIEW/ cmake
"""""""""""""""""""""""