summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-02-25 18:20:28 -0600
committerTodd Gamblin <tgamblin@llnl.gov>2019-02-25 16:20:28 -0800
commita75a6ee1b718c61ab3a6a7390f1672961459dd91 (patch)
tree21217dc6a1bfd48ac544b557fcd9bf6e31c01b07 /lib
parent7c38dc06dc0cafeb3252971e027679e7995a714b (diff)
downloadspack-a75a6ee1b718c61ab3a6a7390f1672961459dd91.tar.gz
spack-a75a6ee1b718c61ab3a6a7390f1672961459dd91.tar.bz2
spack-a75a6ee1b718c61ab3a6a7390f1672961459dd91.tar.xz
spack-a75a6ee1b718c61ab3a6a7390f1672961459dd91.zip
Add /hash to spack help --spec (#10691)
* Add /hash to spack help --spec * Make /hash gray, add ^/hash
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/help.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/help.py b/lib/spack/spack/cmd/help.py
index ef0c071c61..ab94320ca8 100644
--- a/lib/spack/spack/cmd/help.py
+++ b/lib/spack/spack/cmd/help.py
@@ -19,7 +19,9 @@ spec expression syntax:
package [constraints] [^dependency [constraints] ...]
- package any package from 'spack list'
+ package any package from 'spack list', or
+ @K{/hash} unique prefix or full hash of
+ installed package
constraints:
versions:
@@ -51,6 +53,8 @@ spec expression syntax:
dependencies:
^dependency [constraints] specify constraints on dependencies
+ ^@K{/hash} build with a specific installed
+ dependency
examples:
hdf5 any hdf5 configuration