Quellcode durchsuchen

Add documentation about colorama

Luke Murphy vor 6 Jahren
Ursprung
Commit
0320d449ec
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  1. 6 0
      docs/how-to/set-up-backups.md

+ 6 - 0
docs/how-to/set-up-backups.md

@@ -179,6 +179,12 @@ sudo systemctl start borgmatic.timer
 Feel free to modify the timer file based on how frequently you'd like
 borgmatic to run.
 
+## Colored Output
+
+Borgmatic uses [colorama](https://pypi.org/project/colorama/) to produce
+colored terminal output by default. It is disabled when a non-interactive
+terminal is detected (like a cron job). Otherwise, it can be disabled by
+passing `--no-color` or by setting the environment variable `PY_COLORS=False`.
 
 ## Troubleshooting