From 828ada085b60c054e2e12634c5760a98537269d9 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 3 Apr 2025 19:52:00 -0700 Subject: [PATCH] Add a deprecated, top-level "color" option back in for backwards compatibility. --- borgmatic/config/schema.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/borgmatic/config/schema.yaml b/borgmatic/config/schema.yaml index ae41a9ac..65a4803f 100644 --- a/borgmatic/config/schema.yaml +++ b/borgmatic/config/schema.yaml @@ -810,6 +810,12 @@ properties: Restrict the number of checked archives to the last n. Applies only to the "archives" check. Defaults to checking all archives. example: 3 + color: + type: boolean + description: | + Deprecated. Use "color" under "logging:" and "console:" instead. + Apply color to console output. Defaults to true. + example: false logging: type: object additionalProperties: false @@ -835,8 +841,7 @@ properties: color: type: boolean description: | - Apply color to console output. Can be overridden with --no-color - command-line flag. Defaults to true. + Apply color to console output. Defaults to true. example: false syslog: type: object @@ -886,7 +891,6 @@ properties: Python format string used for log messages written to the log file. example: "%(asctime)s %(message)s" - monitoring: type: object additionalProperties: false