From d96e3a1e5a76fbd47293a1742331916fee784ea8 Mon Sep 17 00:00:00 2001 From: Michael Rees Date: Mon, 22 Jul 2024 15:21:41 -0500 Subject: [PATCH] ;Include desc/description field in help text for --sort --- hledger/Hledger/Cli/Commands/Register.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hledger/Hledger/Cli/Commands/Register.md b/hledger/Hledger/Cli/Commands/Register.md index 4dbc069ce..d1a0de608 100644 --- a/hledger/Hledger/Cli/Commands/Register.md +++ b/hledger/Hledger/Cli/Commands/Register.md @@ -83,7 +83,8 @@ It's also useful to show postings on the checking account together with the related account: The `--sort=FIELDS` flag sorts by the fields given, which can be any of -`account`, `amount`, or `date`, optionally separated by commas. +`account`, `amount`, `date`, or `desc`/`description`, optionally separated by +commas. For example, `--sort account,amount` will group all transactions in each account, sorted by transaction amount. Each field can be negated by a preceding `-`, so `--sort -amount` will show