* Matthew Harris <[email protected]> [2012-06-14 23:15]:
> 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.

afaik clearing a posting makes it a known entity and so --pedantic
won't warn.  What you want is --explicit but this doesn't work for me:
http://bugs.ledger-cli.org/show_bug.cgi?id=771

| When --explicit is given, *only* predeclarations establish the
| "known-ness" of  parsed entities.  I.e., if you didn't predeclare
| it, you don't expect to ever see it.

> Come to think of it, there should be a "tags" command.)

Agreed.  There's a feature request already:
http://bugs.ledger-cli.org/show_bug.cgi?id=522

-- 
Martin Michlmayr
http://www.cyrius.com/

Reply via email to