summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2023-03-01 08:26:59 -0700
committerGitHub <noreply@github.com>2023-03-01 16:26:59 +0100
commit583d89e95a8210f8fc85a2fc114f8b4c37fcd0ea (patch)
tree8fd8a4ecbef7cc41fcb61ddd6a42cd93dbee8e63 /lib
parent4a24401ed0a427a6effc238a507007930005393c (diff)
downloadspack-583d89e95a8210f8fc85a2fc114f8b4c37fcd0ea.tar.gz
spack-583d89e95a8210f8fc85a2fc114f8b4c37fcd0ea.tar.bz2
spack-583d89e95a8210f8fc85a2fc114f8b4c37fcd0ea.tar.xz
spack-583d89e95a8210f8fc85a2fc114f8b4c37fcd0ea.zip
Simplify `spack help --spec` output (#35626)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/help.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/spack/spack/cmd/help.py b/lib/spack/spack/cmd/help.py
index 1f45735158..eeba15b431 100644
--- a/lib/spack/spack/cmd/help.py
+++ b/lib/spack/spack/cmd/help.py
@@ -39,19 +39,14 @@ spec expression syntax:
compiler flags:
@g{cflags="flags"} cppflags, cflags, cxxflags,
fflags, ldflags, ldlibs
- @g{cflags=="flags"} propagate flags to package dependencies
- cppflags, cflags, cxxflags, fflags,
- ldflags, ldlibs
+ @g{==} propagate flags to package dependencies
variants:
@B{+variant} enable <variant>
- @B{++variant} propagate enable <variant>
@r{-variant} or @r{~variant} disable <variant>
- @r{--variant} or @r{~~variant} propagate disable <variant>
@B{variant=value} set non-boolean <variant> to <value>
- @B{variant==value} propagate non-boolean <variant> to <value>
@B{variant=value1,value2,value3} set multi-value <variant> values
- @B{variant==value1,value2,value3} propagate multi-value <variant> values
+ @B{++}, @r{--}, @r{~~}, @B{==} propagate variants to package dependencies
architecture variants:
@m{platform=platform} linux, darwin, cray, etc.