Add missing code block (#10243)

Otherwise the `--` in `--dot` is rendered as a single en-dash.
This commit is contained in:
Ben Zwick 2019-01-03 23:41:14 +08:00 committed by Adam J. Stewart
parent 802dc4a03a
commit 7d9dbc5fd2

View File

@ -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
"""