spack list : updated documentation (#2004)
* spack list : updated documentation * spack list : removed space before ':'
This commit is contained in:
parent
5b070418e7
commit
1925db5c77
1 changed files with 7 additions and 16 deletions
|
@ -39,27 +39,18 @@ Spack can install:
|
||||||
|
|
||||||
.. command-output:: spack list
|
.. command-output:: spack list
|
||||||
|
|
||||||
The packages are listed by name in alphabetical order. If you specify a
|
The packages are listed by name in alphabetical order.
|
||||||
pattern to match, it will follow this set of rules. A pattern with no
|
A pattern to match with no wildcards, ``*`` or ``?``,
|
||||||
wildcards, ``*`` or ``?``, will be treated as though it started and ended with
|
will be treated as though it started and ended with
|
||||||
``*``, so ``util`` is equivalent to ``*util*``. A pattern with no capital
|
``*``, so ``util`` is equivalent to ``*util*``. All patterns will be treated
|
||||||
letters will be treated as case-insensitive. You can also add the ``-i`` flag
|
as case-insensitive. You can also add the ``-d`` to search the description of
|
||||||
to specify a case insensitive search, or ``-d`` to search the description of
|
|
||||||
the package in addition to the name. Some examples:
|
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
|
.. command-output:: spack list sql
|
||||||
|
|
||||||
All packages whose names start with a capital M:
|
All packages whose names or descriptions contain documentation:
|
||||||
|
|
||||||
.. 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:
|
|
||||||
|
|
||||||
.. command-output:: spack list --search-description documentation
|
.. command-output:: spack list --search-description documentation
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue