From 93d32a934b6fc5792f669c4eb0debd617c803110 Mon Sep 17 00:00:00 2001 From: Henning Thielemann Date: Tue, 22 Oct 2024 21:20:36 +0200 Subject: [PATCH] doc: Commands.Aregister: mention --cumulative option --- hledger/Hledger/Cli/Commands/Aregister.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hledger/Hledger/Cli/Commands/Aregister.md b/hledger/Hledger/Cli/Commands/Aregister.md index 3ad54a425..6cd040ea9 100644 --- a/hledger/Hledger/Cli/Commands/Aregister.md +++ b/hledger/Hledger/Cli/Commands/Aregister.md @@ -11,6 +11,7 @@ Flags: date. Warning: this can show a wrong running balance. --no-elide don't show only 2 commodities per amount + --cumulative show running total from report start date -w --width=N set output width (default: terminal width or $COLUMNS). -wN,M sets description width as well. --align-all guarantee alignment across all lines (slower) @@ -22,8 +23,9 @@ Flags: `aregister` shows the overall transactions affecting a particular account (and any subaccounts). Each report line represents one transaction in this account. -Transactions before the report start date are always included in the running balance -(`--historical` mode is always on). +Transactions before the report start date are included in the running balance +(`--historical` mode is the default). +You can suppress this behaviour using the `--cumulative` option. This is a more "real world", bank-like view than the [`register`](#register) command (which shows individual postings, possibly from multiple accounts, @@ -75,7 +77,7 @@ at the cost of more time and memory, use the `--align-all` flag. This command also supports the [output destination](hledger.html#output-destination) and [output format](hledger.html#output-format) options. -The output formats supported are `txt`, `csv`, `tsv` (*Added in 1.32*), and `json`. +The output formats supported are `txt`, `csv`, `tsv` (*Added in 1.32*), `html`, `fods` (*Added in 1.41*) and `json`. ### aregister and posting dates