From db08eac60fec34d2b2d0ffca9fe178c5a26f0d79 Mon Sep 17 00:00:00 2001 From: Matthew Varley Date: Thu, 27 Dec 2012 03:04:30 -0500 Subject: [PATCH] Update readme for new graphviz --- readme.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/readme.markdown b/readme.markdown index 89b1d32..9121116 100644 --- a/readme.markdown +++ b/readme.markdown @@ -52,14 +52,14 @@ The Windows version of Graphviz is also available from [their website][gviz-wind From the command line, just run: ``` -dot -tpdf brotherhood.dot brotherhood.pdf +dot -Tpdf brotherhood.dot > brotherhood.pdf ``` -Note to Windows users: you will need to run this command from the location where the `dot` program is located (Try looking in `c:\program files (x86)\graphviz`). You will also need to use the full path to the dot file. As an example: +Note to Windows users: you may need to run this command from the location where the `dot` program is located (Try looking in `c:\program files (x86)\graphviz`). You will also need to use the full path to the dot file. As an example: ``` cd c:\program files (x86)\graphviz -dot -tpdf c:\Users\john\desktop\brotherhood.dot c:\Users\john\desktop\brotherhood.pdf +dot -tpdf c:\Users\john\desktop\brotherhood.dot > c:\Users\john\desktop\brotherhood.pdf ``` -The `-t` flag tells dot which format to use for the output file. In this case, we are specifying PDF, but other formats like PNG may be used as well. \ No newline at end of file +The `-T` flag tells dot which format to use for the output file. In this case, we are specifying PDF, but other formats like PNG may be used as well.