summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2019-05-23 10:44:14 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2019-05-23 12:40:01 -0700
commitab21b3d19492e2233c011a120f2414eea989dee0 (patch)
tree662510fdd8cf8e9e6c7065994628a4f7fa5a79ba /lib
parentd6cf3b67182a4f77fce7f79600514f366d4525e1 (diff)
downloadspack-ab21b3d19492e2233c011a120f2414eea989dee0.tar.gz
spack-ab21b3d19492e2233c011a120f2414eea989dee0.tar.bz2
spack-ab21b3d19492e2233c011a120f2414eea989dee0.tar.xz
spack-ab21b3d19492e2233c011a120f2414eea989dee0.zip
docs: truncate `spack list` output in basic usage
`spack list` output is very long and takes up a lot of space in the docs. Truncate it to just 10 lines and link to the package list page.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/basic_usage.rst9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/spack/docs/basic_usage.rst b/lib/spack/docs/basic_usage.rst
index 65fc1b384e..8748762fa0 100644
--- a/lib/spack/docs/basic_usage.rst
+++ b/lib/spack/docs/basic_usage.rst
@@ -39,12 +39,15 @@ available. You can see a list of available package names at the
``spack list``
^^^^^^^^^^^^^^
-The ``spack list`` command prints out a list of all of the packages
-Spack can install:
+The ``spack list`` command prints out a list of all of the packages Spack
+can install:
.. command-output:: spack list
+ :ellipsis: 10
-The packages are listed by name in alphabetical order.
+There are thosands of them, so we've truncated the output above, but you
+can find a :ref:`full list here <package-list>`.
+Packages are listed by name in alphabetical order.
A pattern to match with no wildcards, ``*`` or ``?``,
will be treated as though it started and ended with
``*``, so ``util`` is equivalent to ``*util*``. All patterns will be treated