* Philip Rooke <[email protected]> [2013-03-12 13:48]:
> I've just been trying the --strict/--pedantic options for the first time
> and I'm a little surprised by their behaviour.  It seems they only work
> on uncleared transactions.  IMHO that is incorrect, it is easy to
> mistakenly edit an account name long after it has been cleared and these
> checks won't then notice it.  Have I missed something obvious or is this
> a bug?

There are two issues here:

1) You also have to specify --explicit (i.e. --strict --explicit) for
it to work on cleared transactions.  I believe this is expected
behaviour.

2) You have to declare one (any) account, e.g. by adding
    account foo
at the top of your file.  I believe this is a bug, see
http://bugs.ledger-cli.org/show_bug.cgi?id=771

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


Reply via email to