From 75e169d369c39009fe244f91f6a7c5a8afd95102 Mon Sep 17 00:00:00 2001 From: "Steven R. Baker" Date: Sat, 11 Feb 2017 11:40:49 +0100 Subject: [PATCH] Add missing assrt param to documentation. I was working through the documentation, and this wouldn't work as-is. I noticed that there is an additional argument `assrt` which is not used here. Passing `True` causes this example to work. --- hledger/Hledger/Cli/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger/Hledger/Cli/Main.hs b/hledger/Hledger/Cli/Main.hs index 0110ff9d3..1f9017c9c 100644 --- a/hledger/Hledger/Cli/Main.hs +++ b/hledger/Hledger/Cli/Main.hs @@ -19,7 +19,7 @@ You can use the command line: or ghci: > $ ghci hledger -> > j <- readJournalFile Nothing Nothing "examples/sample.journal" +> > j <- readJournalFile Nothing Nothing True "examples/sample.journal" > > register [] ["income","expenses"] j > 2008/01/01 income income:salary $-1 $-1 > 2008/06/01 gift income:gifts $-1 $-2