imp: diff, prices: improve help layout

This commit is contained in:
Simon Michael 2024-06-07 07:05:03 -07:00
parent c787286844
commit 3e13f39f94
3 changed files with 20 additions and 19 deletions

View File

@ -4,23 +4,24 @@ Compares a particular account's transactions in two input files.
It shows any transactions to this account which are in one file but
not in the other.
More precisely, for each posting affecting this account in either
file, it looks for a corresponding posting in the other file which
posts the same amount to the same account (ignoring date, description,
etc.) Since postings not transactions are compared, this also works
when multiple bank transactions have been combined into a single
journal entry.
This is useful eg if you have downloaded an account's transactions
from your bank (eg as CSV data). When hledger and your bank disagree
about the account balance, you can compare the bank data with your
journal to find out the cause.
```flags
Flags:
no command-specific flags
```
More precisely: for each posting affecting this account in either file,
this command looks for a corresponding posting in the other file which
posts the same amount to the same account (ignoring date, description,
etc).
Since it compares postings, not transactions, this also works when
multiple bank transactions have been combined into a single journal entry.
This command is useful eg if you have downloaded an account's
transactions from your bank (eg as CSV data): when hledger and your
bank disagree about the account balance, you can compare the bank data
with your journal to find out the cause.
Examples:
```cli

View File

@ -4,6 +4,12 @@ Print the [market prices](hledger.md#p-directive) declared with P directives.
With --infer-market-prices, also show any additional prices inferred from [costs](hledger.md#costs).
With --show-reverse, also show additional prices inferred by reversing known prices.
```flags
Flags:
--show-reverse also show the prices inferred by reversing known
prices
```
Price amounts are always displayed with their full precision,
except for reverse prices which are limited to 8 decimal digits.
@ -14,8 +20,3 @@ it will show the same prices used internally to calculate value reports.
But if in doubt, you can inspect those directly by running the value report
with --debug=2.
```flags
Flags:
--show-reverse also show the prices inferred by reversing known
prices
```

View File

@ -1,8 +1,7 @@
## tags
List the tags used in the journal, or their values.
<!-- same section name as Journal > Tags, if reordering these update all #tags[-1] links -->
<!-- same section name as Journal > Tags; if reordering this and that, update all #tags[-1] links -->
```flags
Flags: