From 2aa5bd16538c6806d919a4e644053828620d5c24 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 26 Jul 2019 22:18:33 +0100 Subject: [PATCH] ;tags: mention pivot trick for listing tag values [ci skip] --- hledger/Hledger/Cli/Commands/Tags.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hledger/Hledger/Cli/Commands/Tags.md b/hledger/Hledger/Cli/Commands/Tags.md index 72ae78b85..c8a408b0d 100644 --- a/hledger/Hledger/Cli/Commands/Tags.md +++ b/hledger/Hledger/Cli/Commands/Tags.md @@ -4,3 +4,8 @@ only tag names matching the regular expression (case insensitive) are shown. With QUERY arguments, only transactions matching the query are considered. _FLAGS_ + +There's no direct way to list a tag's values, but there is an indirect way: +--pivot converts a tag's values to accounts, which you can list, like this: + + hledger --pivot SOMETAG accounts --used