summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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
"""