From ab21b3d19492e2233c011a120f2414eea989dee0 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Thu, 23 May 2019 10:44:14 -0700 Subject: 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. --- lib/spack/docs/basic_usage.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lib') 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 `. +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 -- cgit v1.2.3-60-g2f50