From 8b3ec6b30c9bafdc6d5af870c64e0793e60056a9 Mon Sep 17 00:00:00 2001
From: Neil Smith <neil.git@njae.me.uk>
Date: Sat, 23 Nov 2019 17:46:32 +0000
Subject: [PATCH] Updated readme

---
 README.html | 6 +++++-
 README.md   | 5 +++++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/README.html b/README.html
index 8dd29bb..50e6922 100644
--- a/README.html
+++ b/README.html
@@ -33,12 +33,16 @@
 <pre><code>stack build advent01</code></pre>
 <p>Run with</p>
 <pre><code>stack exec advent01</code></pre>
+<p>If you want to pass in additional RTS parameters, do it like this:</p>
+<pre><code>stack exec -- advent01 +RTS -K0 -RTS</code></pre>
 <p>Run interactively with</p>
 <pre><code>stack ghci advent-of-code:exe:advent01</code></pre>
 <p>To profile, use</p>
-<pre><code>stack build --executable-profiling --library-profiling --ghc-options=&quot;-fprof-auto -rtsopts&quot; adventofcode1601</code></pre>
+<pre><code>stack build --executable-profiling --library-profiling --ghc-options=&quot;-fprof-auto -rtsopts&quot;</code></pre>
 <p>then run with</p>
 <pre><code>stack exec -- advent01 +RTS -p -hy</code></pre>
+<p>Generate the profile graph with</p>
+<pre><code>stack exec hp2ps advent01.hp</code></pre>
 <h1 id="packages">Packages</h1>
 <p>Stack is using the <a href="https://www.stackage.org/lts-12.20">12.20-lts resolver</a> for packages, so make sure you read the <a href="https://www.stackage.org/lts-12.20/docs">correct documentation for the packages included in it</a>.</p>
 <p>When you use a new package, use</p>
diff --git a/README.md b/README.md
index f9bb2e1..f55e9a1 100644
--- a/README.md
+++ b/README.md
@@ -48,6 +48,11 @@ Run with
 stack exec advent01
 ```
 
+If you want to pass in additional RTS parameters, do it like this:
+```
+stack exec -- advent01 +RTS -K0 -RTS
+```
+
 Run interactively with
 ```
 stack ghci advent-of-code:exe:advent01
-- 
2.43.0