summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-07-24 10:27:43 -0500
committerGitHub <noreply@github.com>2020-07-24 17:27:43 +0200
commitf73a3d35a88b602454d9c32233a8607200edd98d (patch)
treee76739492ededc69a2e89b950ec09484a26634c9
parent02f14fd8574158b6e80194cb6c2cd7801fe58201 (diff)
downloadspack-f73a3d35a88b602454d9c32233a8607200edd98d.tar.gz
spack-f73a3d35a88b602454d9c32233a8607200edd98d.tar.bz2
spack-f73a3d35a88b602454d9c32233a8607200edd98d.tar.xz
spack-f73a3d35a88b602454d9c32233a8607200edd98d.zip
spack help --spec: add compiler flags (#17584)
-rw-r--r--lib/spack/spack/cmd/help.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/spack/spack/cmd/help.py b/lib/spack/spack/cmd/help.py
index 3af82312df..1a5caddc64 100644
--- a/lib/spack/spack/cmd/help.py
+++ b/lib/spack/spack/cmd/help.py
@@ -35,6 +35,10 @@ spec expression syntax:
@g{%compiler@version} build with specific compiler version
@g{%compiler@min:max} specific version range (see above)
+ compiler flags:
+ @g{cflags="flags"} cppflags, cflags, cxxflags,
+ fflags, ldflags, ldlibs
+
variants:
@B{+variant} enable <variant>
@r{-variant} or @r{~variant} disable <variant>