Skip to content

Commit

Permalink
;doc:balance: consolidated --related/-r doc
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Mar 1, 2024
1 parent 39a0a4d commit 3e93b69
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions hledger/Hledger/Cli/Commands/Balance.md
Expand Up @@ -39,6 +39,7 @@ Many of these work with the higher-level commands as well.
- or value of balance changes ([`-V`](#valuation-type))
- or change of balance values ([`--valuechange`](#balance-report-types))
- or unrealised capital gain/loss ([`--gain`](#balance-report-types))
- or balance changes from sibling postings (`--related`/`-r`)
- or postings count ([`--count`](#balance-report-types))

..in..
Expand Down Expand Up @@ -77,9 +78,6 @@ This command supports the
with output formats `txt`, `csv`, `tsv` (*Added in 1.32*), `json`, and (multi-period reports only:) `html`.
In `txt` output in a colour-supporting terminal, negative amounts are shown in red.

The `--related`/`-r` flag shows the balance of the *other* postings in the
transactions of the postings which would normally be shown.

### Simple balance report

With no arguments, `balance` shows a list of all accounts and their
Expand Down Expand Up @@ -189,6 +187,7 @@ Some example formats:
[valuation]: #valuation
[valuation date(s)]: #valuation-date
[valuation commodity]: #valuation-commodity

### Filtered balance report

You can show fewer accounts, a different time period, totals from
Expand Down

0 comments on commit 3e93b69

Please sign in to comment.