I am using version 3.1.1 $ ledger --version Ledger 3.1.1-20160111, the command-line accounting tool
Copyright (c) 2003-2016, John Wiegley. All rights reserved. This program is made available under the terms of the BSD Public License. See LICENSE file included with the distribution for details and disclaimer. On Monday, May 14, 2018 at 2:25:21 PM UTC-7, melbogia m wrote: > > 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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.