Selaa lähdekoodia

Add documentation about colorama

Luke Murphy 6 vuotta sitten
vanhempi
sitoutus
0320d449ec
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  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
 Feel free to modify the timer file based on how frequently you'd like
 borgmatic to run.
 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
 ## Troubleshooting