* [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/Yi/fomdEWOUIyBvn%40jirafa.cyrius.com.