From 9fde1ae380cd409a1ddebebd7a67efd5e2abc4af Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sun, 15 Jun 2025 13:04:32 -1000 Subject: [PATCH] ;doc:addon commands: edits [#458] --- hledger/hledger.m4.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index 5d08d48dc..afd817400 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -236,9 +236,11 @@ m4_dnl call hledger's code directly, which means they can do anything built-in c m4_dnl Scripts/programs in other languages can't do this, but they can use hledger's m4_dnl command-line interface, or output formats like CSV or JSON. -You can run add-on commands using hledger, much like built-in commands. Eg `hledger ui --watch`. -(Before hledger 1.50, an `--` argument was needed before addon-specific options; this is no longer needed.) -You can also run add-ons directly: `hledger-ui --watch`. +You can run add-on commands directly: `hledger-ui --watch`. + +Or you can run them with hledger, like built-in commands: `hledger ui --watch`. +In this case hledger's config file will be used, so you can set custom options for the addon there. +(Before hledger 1.50, an `--` argument was needed before addon options, but not any more.) # Options