I have two questions about behaviors that seem like bugs to me. (And I'm 
running code I checked out from Git this week.)

First, I thought that I could put flags directly into my journal file and 
they would be equivalent to providing them on the command line. But with 
this input file:

--pedantic
2012/01/01 Payday
  Assets:Checking  $100.00
  Income

'ledger -f test.dat reg' doesn't complain about unknown accounts, but 
'ledger -f test.dat reg --pedantic' does. Why?

Second, I expected that pedantic checking would protect me from typos in 
tag names, but apparently it doesn't:

account Assets:Checking
account Income
commodity $
tag foobar
2012/01/01 Payday
  * Assets:Checking  $100.00
  ; :foobaz:
  Income

For this file, Ledger doesn't complain about an unknown tag. If I unclear 
the posting (remove the *), Ledger complains. (And there's no "tags" 
command as there is for accounts and commodities, so it's doubly hard to 
find such typos. Come to think of it, there should be a "tags" command.)

Thank you, John, for all your work on Ledger.


Matthew

Reply via email to