From 7d9dbc5fd273a88b0ce57233d427c703001f95c7 Mon Sep 17 00:00:00 2001 From: Ben Zwick <33216696+benzwick@users.noreply.github.com> Date: Thu, 3 Jan 2019 23:41:14 +0800 Subject: Add missing code block (#10243) Otherwise the `--` in `--dot` is rendered as a single en-dash. --- lib/spack/spack/graph.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') 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 """ -- cgit v1.2.3-70-g09d2