Hello!

I'm on branch "next", make-cleaned and acprep-updated today.

Here's my test file and some register reports with --monthly or --invert:

~$ cat test.dat
2012-04-05 Test
  Assets:Checking  10 e
  Income:Employer

~$ ledger --file test.dat --monthly reg income
2012-04-01 - 2012-04-30         Income:Employer       -10,00 e   -10,00 e

~$ ledger --file test.dat --invert reg income
2012-04-05 Test                 Income:Employer        10,00 e    10,00 e

These are as I expected. With --monthly **and** --invert, however, I don't
get inverted values:

~$ ledger --file test.dat --monthly --invert reg income
2012-04-01 - 2012-04-30         Income:Employer       -10,00 e   -10,00 e

Is it a bug, or am I not supposed to mix --invert with -D/-W/-M/-Y? Or,
as usual, am I missing something else? I ran into this when trying to
make some plots using the -j parameter, and wanted the amounts to show
in positive numbers. Otherwise I don't mind my Income being negative :)

Thanks for your time.

JR

Reply via email to