From 308c554603f2ae961c8f2ee89516b642fba49ea8 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 26 Nov 2021 05:57:12 -1000 Subject: [PATCH] ;doc: update CLI usage texts --- hledger/Hledger/Cli/Commands/Balance.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/hledger/Hledger/Cli/Commands/Balance.txt b/hledger/Hledger/Cli/Commands/Balance.txt index 69c101158..dc72a3441 100644 --- a/hledger/Hledger/Cli/Commands/Balance.txt +++ b/hledger/Hledger/Cli/Commands/Balance.txt @@ -242,6 +242,20 @@ in the terminal. Here are some ways to handle that: - Output as HTML and view with a browser: hledger bal -D -o a.html && open a.html +Showing declared accounts + +With --declared, accounts which have been declared with an account +directive will be included in the balance report, even if they have no +transactions. (Since they will have a zero balance, you will also need +-E/--empty to see them.) + +More precisely, leaf declared accounts (with no subaccounts) will be +included, since those are usually the more useful in reports. + +The idea of this is to be able to see a useful "complete" balance +report, even when you don't have transactions in all of your declared +accounts yet. + Commodity layout With --layout, you can control how amounts with more than one commodity