;journal: doc: note same-day P overrides --infer-market-value

This commit is contained in:
Simon Michael 2021-02-13 15:34:47 -08:00
parent b31e40ceca
commit 9cff45b2c5

View File

@ -805,6 +805,7 @@ We could produce value reports without needing P directives at all.
Adding the `--infer-market-price` flag to `-V`, `-X` or `--value` enables Adding the `--infer-market-price` flag to `-V`, `-X` or `--value` enables
this. So for example, `hledger bs -V --infer-market-price` will get market this. So for example, `hledger bs -V --infer-market-price` will get market
prices both from P directives and from transactions. prices both from P directives and from transactions.
(And if both occur on the same day, the P directive takes precedence).
There is a downside: value reports can sometimes be affected in There is a downside: value reports can sometimes be affected in
confusing/undesired ways by your journal entries. If this happens to confusing/undesired ways by your journal entries. If this happens to