;reg,areg: interlink their docs

This commit is contained in:
Simon Michael 2020-07-22 07:57:53 -07:00
parent 640d2f2972
commit 1c4e0c3cff
2 changed files with 13 additions and 6 deletions

View File

@ -16,8 +16,8 @@ Each line shows:
With `aregister`, each line represents a whole transaction - as in With `aregister`, each line represents a whole transaction - as in
hledger-ui, hledger-web, and your bank statement. By contrast, the hledger-ui, hledger-web, and your bank statement. By contrast, the
`register` command shows individual postings, across all accounts. [`register`](#register) command shows individual postings, across all
You might prefer `aregister` for reconciling with real-world accounts. You might prefer `aregister` for reconciling with real-world
asset/liability accounts, and `register` for reviewing detailed asset/liability accounts, and `register` for reviewing detailed
revenues/expenses. revenues/expenses.

View File

@ -3,10 +3,17 @@ Show postings and their running total.
_FLAGS _FLAGS
The register command displays postings in date order, one per line, The register command displays matched postings, across all accounts,
and their running total. This is typically used with a in date order, with their running total or running historical balance.
[query](#queries) selecting a particular account, to see that (See also the [`aregister`](#aregister) command, which shows matched
account's activity: transactions in a specific account.)
register normally shows line per posting, but note that
multi-commodity amounts will occupy multiple lines (one line per
commodity).
It is typically used with a [query](#queries) selecting a
particular account, to see that account's activity:
```shell ```shell
$ hledger register checking $ hledger register checking