summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Zwick <33216696+benzwick@users.noreply.github.com>2019-01-03 23:41:14 +0800
committerAdam J. Stewart <ajstewart426@gmail.com>2019-01-03 09:41:14 -0600
commit7d9dbc5fd273a88b0ce57233d427c703001f95c7 (patch)
treeed393310b3a4f0d1e7098ab5fcd3c757f2385eed /lib
parent802dc4a03a4bb86cf42ff7f60915c1dabbbe31a9 (diff)
downloadspack-7d9dbc5fd273a88b0ce57233d427c703001f95c7.tar.gz
spack-7d9dbc5fd273a88b0ce57233d427c703001f95c7.tar.bz2
spack-7d9dbc5fd273a88b0ce57233d427c703001f95c7.tar.xz
spack-7d9dbc5fd273a88b0ce57233d427c703001f95c7.zip
Add missing code block (#10243)
Otherwise the `--` in `--dot` is rendered as a single en-dash.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/graph.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/spack/spack/graph.py b/lib/spack/spack/graph.py
index 8c481084ae..8a91ff2fd0 100644
--- a/lib/spack/spack/graph.py
+++ b/lib/spack/spack/graph.py
@@ -494,6 +494,8 @@ def graph_dot(specs, deptype='all', static=False, out=None):
Print out a dot formatted graph of all the dependencies between
package. Output can be passed to graphviz, e.g.:
+ .. code-block:: console
+
spack graph --dot qt | dot -Tpdf > spack-graph.pdf
"""