hledger/hledger/Hledger/Cli
Stephen Morgan 7ed2a0aa9b lib!: lib: Remove aismultiplier from Amount.
In Amount, aismultiplier is a boolean flag that will always be False,
except for in TMPostingRules, where it indicates whether the posting
rule is a multiplier. It is therefore unnecessary in the vast majority
of cases. This posting pulls this flag out of Amount and puts it into
TMPostingRule, so it is only kept around when necessary.

This changes the parsing of journals somewhat. Previously you could
include an * before an amount anywhere in a Journal, and it would
happily parse and set the aismultiplier flag true. This will now fail
with a parse error: * is now only acceptable before an amount within an
auto posting rule.

Any usage of the library in which the aismultiplier field is read or set
should be removed. If you truly need its functionality, you should
switch to using TMPostingRule.

This changes the JSON output of Amount, as it will no longer include
aismultiplier.
2021-07-22 19:06:33 -10:00
..
Commands lib!: lib: Remove aismultiplier from Amount. 2021-07-22 19:06:33 -10:00
Anon.hs Fix typos 2019-12-21 12:09:05 -08:00
CliOptions.hs ;doc: clarify report intervals' effect on begin/end dates (#1561) 2021-05-18 10:50:52 -10:00
Commands.hs lib,cli,ui,web: Remove unnecessary CPP when dropping support for GHC 8.2. 2021-06-07 17:33:54 -10:00
CompoundBalanceCommand.hs ref: bal: rename some report types to clarify/sync with docs 2021-07-15 14:22:20 -10:00
DocFiles.hs ;cli: fix "hledger CMD --info" with older info 2021-03-07 17:40:50 -08:00
Main.hs lib,cli,ui,web: Remove unused LANGUAGE pragmas. 2021-06-07 17:33:54 -10:00
Utils.hs lib,cli,ui,web: Add check balancednoautoconversion command, which checks that 2021-06-07 18:58:58 -10:00
Version.hs cli,ui,web: Display full git description in --version report if able. 2021-06-02 19:46:18 -10:00