Thank you sir! I had --strict in my .ledgerrc, which I created in 2019. I totally forgot about the rc file..
On Monday, March 14, 2022 at 5:36:59 PM UTC-7 Martin Michlmayr wrote: > * [email protected] <[email protected]> [2022-03-14 15:21]: > > I am trying to run an old ledger file where I have lots of metadata tags > > (key/value pairs) and I am getting theses errors. > > > > % ledger -f test.ledger bal > > Warning: "test.ledger", line 7: Unknown metadata tag 'MyTag' > > You probably have --strict in your ~/.ledgerrc. > > The manual says: > If using the --strict or --pedantic options, you must declare this tag to > avoid warnings and errors. > > (This wasn't fully checked in the past due to bugs; they have been > fixed, which is why you see this now and not before.) > > > Here's the test file: > > > > account Cash > > account Expenses > > You miss the tag declaration here: > > tag MyTag > > -- > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/958b2422-51f3-4c7a-8444-2fcbf02a01d3n%40googlegroups.com.
