From 9317354f20a30612a8a628a93205ea0990a0c172 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 17 Oct 2024 23:45:10 -1000 Subject: [PATCH] doc: note issues with --color, --debug in config files --- hledger/hledger.m4.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index 112f72500..8eee77f0b 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -736,8 +736,8 @@ in `less` (and in its `more` compatibility mode). If you use a different pager, you might need to configure it similarly, to avoid seeing junk on screen. Or you can set the `NO_COLOR` environment variable described below. -You can prevent the use of a pager by using the `--no-pager` flag, -eg in your hledger config file. +You can prevent the use of a pager by providing the `--no-pager` flag at the command line, +or in a config file. Here are some notes about the various output formats. @@ -769,6 +769,7 @@ You can override this in the usual ways. If the `NO_COLOR` environment variable is set, colour will be disabled by default. Or you can use the `--color/--colour` option with a `yes`/`always` value, or `no`/`never`, to force colour on or off. +(This option doesn't work in a config file yet.) #### Box-drawing @@ -936,6 +937,7 @@ To capture debug output in a log file instead, you can usually redirect stderr, ```cli hledger bal --debug=3 2>hledger.log ``` +(This option doesn't work in a config file yet.) # Environment