In the 
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

$ cat example.ledger
2018-01-01 * transaction1
  Expenses:Groceries  10 USD
  Assets:Income

2018-01-01 * transaction2
  Expenses:Groceries  10 USD
  Assets:Income

2018-01-01 * transaction3
  Expenses:groceries  10 USD
  Assets:Income


$ ledger -f example.ledger bal --strict
             -30 USD  Assets:Income
              30 USD  Expenses
              20 USD    Groceries
              10 USD    groceries
--------------------
                   0

What am I missing?

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to