Version: 1.52 and 1.99.1
The release notes and error text indicate the new account type is Gain but the accepted value in account directive is Gains.
This works:
echo 'account income:capital ; type: G' | hledger print -f -
and this works:
echo 'account income:capital ; type: Gains' | hledger print -f -
But this doesn't, even though the error mentions the "Gain" type:
$ echo 'account income:capital ; type: Gain' | hledger print -f -
hledger: Error: -:1:1:
|
1 | account income:capital ; type: Gain
| ^
invalid account type code Gain, should be one of A, L, E, R, X, C, V, G, Asset, Liability, Equity, Revenue, Expense, Cash, Conversion, Gain
P.S. I just downloaded the 1.99 version, lots tracking is very promising. Thanks for the good work!