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:
parent
93cec2e558
commit
75e169d369
@ -19,7 +19,7 @@ You can use the command line:
|
|||||||
or ghci:
|
or ghci:
|
||||||
|
|
||||||
> $ ghci hledger
|
> $ ghci hledger
|
||||||
> > j <- readJournalFile Nothing Nothing "examples/sample.journal"
|
> > j <- readJournalFile Nothing Nothing True "examples/sample.journal"
|
||||||
> > register [] ["income","expenses"] j
|
> > register [] ["income","expenses"] j
|
||||||
> 2008/01/01 income income:salary $-1 $-1
|
> 2008/01/01 income income:salary $-1 $-1
|
||||||
> 2008/06/01 gift income:gifts $-1 $-2
|
> 2008/06/01 gift income:gifts $-1 $-2
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user