summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@googlemail.com>2016-10-12 18:43:28 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2016-10-12 09:43:28 -0700
commit1925db5c770427f99c0e23dacbf16ac2b707ffa3 (patch)
tree45d339621a81bd7131ced0a1cbcc27de5025f1e0 /lib
parent5b070418e77d4f608ed8e55b4ea46be2fe0685e3 (diff)
downloadspack-1925db5c770427f99c0e23dacbf16ac2b707ffa3.tar.gz
spack-1925db5c770427f99c0e23dacbf16ac2b707ffa3.tar.bz2
spack-1925db5c770427f99c0e23dacbf16ac2b707ffa3.tar.xz
spack-1925db5c770427f99c0e23dacbf16ac2b707ffa3.zip
spack list : updated documentation (#2004)
* spack list : updated documentation * spack list : removed space before ':'
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/basic_usage.rst23
1 files changed, 7 insertions, 16 deletions
diff --git a/lib/spack/docs/basic_usage.rst b/lib/spack/docs/basic_usage.rst
index 306d64409d..878f0df0dd 100644
--- a/lib/spack/docs/basic_usage.rst
+++ b/lib/spack/docs/basic_usage.rst
@@ -39,27 +39,18 @@ Spack can install:
.. command-output:: spack list
-The packages are listed by name in alphabetical order. If you specify a
-pattern to match, it will follow this set of rules. A pattern with no
-wildcards, ``*`` or ``?``, will be treated as though it started and ended with
-``*``, so ``util`` is equivalent to ``*util*``. A pattern with no capital
-letters will be treated as case-insensitive. You can also add the ``-i`` flag
-to specify a case insensitive search, or ``-d`` to search the description of
+The 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
+as case-insensitive. You can also add the ``-d`` to search the description of
the package in addition to the name. Some examples:
-All packages whose names contain "sql" case insensitive:
+All packages whose names contain "sql":
.. command-output:: spack list sql
-All packages whose names start with a capital M:
-
-.. command-output:: spack list 'M*'
-
-All packages whose names or descriptions contain Documentation:
-
-.. command-output:: spack list --search-description Documentation
-
-All packages whose names contain documentation case insensitive:
+All packages whose names or descriptions contain documentation:
.. command-output:: spack list --search-description documentation