From 11b787e8ec37743164a33be5c711863f7cf50e22 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sun, 20 Dec 2020 07:57:01 -0800 Subject: [PATCH] ;doc: info: drop areg/bal's "Output format" heading to fix node loops These were making it impossible to page through the entier manual with the space key. --- hledger/Hledger/Cli/Commands/Aregister.md | 12 +++++------- hledger/Hledger/Cli/Commands/Balance.md | 13 ++++++------- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/hledger/Hledger/Cli/Commands/Aregister.md b/hledger/Hledger/Cli/Commands/Aregister.md index 35466bc66..b9b317180 100644 --- a/hledger/Hledger/Cli/Commands/Aregister.md +++ b/hledger/Hledger/Cli/Commands/Aregister.md @@ -32,6 +32,11 @@ transactions shown. Transactions making a net change of zero are not shown by default; add the `-E/--empty` flag to show them. +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`, and `json`. + ### aregister and custom posting dates Transactions whose date is outside the report period can still be @@ -45,13 +50,6 @@ To filter strictly by transaction date instead, add the `--txn-dates` flag. If you use this flag and some of your postings have custom dates, it's probably best to assume the running balance is wrong. -### Output format - -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`, and `json`. - Examples: Show all transactions and historical running balance in the first diff --git a/hledger/Hledger/Cli/Commands/Balance.md b/hledger/Hledger/Cli/Commands/Balance.md index 934d17839..af4ab291d 100644 --- a/hledger/Hledger/Cli/Commands/Balance.md +++ b/hledger/Hledger/Cli/Commands/Balance.md @@ -21,6 +21,12 @@ transaction setting the correct starting balance on that date. Then the balance command will show real-world account balances. In some cases the -H/--historical flag is used to ensure this (more below). +This command also supports the +[output destination](hledger.html#output-destination) and +[output format](hledger.html#output-format) options +The output formats supported are (in most modes): +`txt`, `csv`, `html`, and `json`. + The balance command can produce several styles of report: ### Classic balance report @@ -570,10 +576,3 @@ Budget performance in 2019/01: || 0 [ 0] ``` -### Output format - -This command also supports the -[output destination](hledger.html#output-destination) and -[output format](hledger.html#output-format) options -The output formats supported are (in most modes): -`txt`, `csv`, `html`, and `json`.