diff --git a/NEWS b/NEWS index 40d0ce43..18389f8f 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,9 @@ interfere with JSON output. * #829: Fix "--override" values containing deprecated section headers not actually overriding configuration options under deprecated section headers. + * #835: Add support for the NO_COLOR environment variable. See the documentation for more + information: + https://torsion.org/borgmatic/docs/how-to/set-up-backups/#colored-output * Clarify documentation about restoring a database: borgmatic does not create the database upon restore. diff --git a/docs/how-to/set-up-backups.md b/docs/how-to/set-up-backups.md index a50c3a3e..ea563a94 100644 --- a/docs/how-to/set-up-backups.md +++ b/docs/how-to/set-up-backups.md @@ -406,8 +406,9 @@ source /usr/share/fish/vendor_completions.d/borgmatic.fish borgmatic produces colored terminal output by default. It is disabled when a non-interactive terminal is detected (like a cron job), or when you use the `--json` flag. Otherwise, you can disable it by passing the `--no-color` flag, -setting the environment variables `PY_COLORS=False` or `NO_COLOR=True`, or setting the `color` -option to `false` in the `output` section of configuration. +setting the environment variables `PY_COLORS=False` or `NO_COLOR=True`, or +setting the `color` option to `false` in the `output` section of +configuration. ## Troubleshooting