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.
This commit is contained in:
Steven R. Baker 2017-02-11 11:40:49 +01:00 committed by Simon Michael
parent 93cec2e558
commit 75e169d369

View File

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