summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-07-17 21:20:02 -0700
committerGitHub <noreply@github.com>2016-07-17 21:20:02 -0700
commit117743863e35b50be7e9de6823182b1cc962cff7 (patch)
tree8b47db25e0bbba81d35da1e407fa45965a28a3a4
parent28ce08b9e26a2cda3764c37eb8860f90deadf6ff (diff)
parent3051c3d71d9d7bf0422d2b33a173e5db1ec42ab3 (diff)
downloadspack-117743863e35b50be7e9de6823182b1cc962cff7.tar.gz
spack-117743863e35b50be7e9de6823182b1cc962cff7.tar.bz2
spack-117743863e35b50be7e9de6823182b1cc962cff7.tar.xz
spack-117743863e35b50be7e9de6823182b1cc962cff7.zip
Merge pull request #1252 from hartzell/patch-5
Fix format of explanation of an example & question
-rw-r--r--lib/spack/docs/basic_usage.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/spack/docs/basic_usage.rst b/lib/spack/docs/basic_usage.rst
index 90ba1164e6..50a161a175 100644
--- a/lib/spack/docs/basic_usage.rst
+++ b/lib/spack/docs/basic_usage.rst
@@ -543,11 +543,12 @@ More formally, a spec consists of the following pieces:
* ``+`` or ``-`` or ``~`` Optional variant specifiers (``+debug``,
``-qt``, or ``~qt``) for boolean variants
* ``name=<value>`` Optional variant specifiers that are not restricted to
-boolean variants
+ boolean variants
* ``name=<value>`` Optional compiler flag specifiers. Valid flag names are
-``cflags``, ``cxxflags``, ``fflags``, ``cppflags``, ``ldflags``, and ``ldlibs``.
+ ``cflags``, ``cxxflags``, ``fflags``, ``cppflags``, ``ldflags``, and ``ldlibs``.
* ``target=<value> os=<value>`` Optional architecture specifier
-(``target=haswell os=CNL10``) * ``^`` Dependency specs (``^callpath@1.1``)
+ (``target=haswell os=CNL10``)
+* ``^`` Dependency specs (``^callpath@1.1``)
There are two things to notice here. The first is that specs are
recursively defined. That is, each dependency after ``^`` is a spec