* melbogia m <melbo...@gmail.com> [2018-05-14 14:25]:
> documentation
> https://www.ledger-cli.org/3.0/doc/ledger3.html#Keeping-it-Consistent
> it states that I can use --strict to show a warning if an account
> isn't predeclared but it doesn't work for me, in this example file

> What am I missing?

Two things:

1) An account declaration.  Any declaration will do, e.g. "account
foo".  --strict will only check if there are declarations.  (This is
not intuitive and a known issue: GitHub #517, Bugzilla #771)

b) --explicit in addition to --strict because your transactions are
cleared and --strict assumes everything in cleared transactions is
known unless you add --explicit

-- 
Martin Michlmayr
https://www.cyrius.com/

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to