浏览代码

Add documentation about colorama

Luke Murphy 6 年之前
父节点
当前提交
0320d449ec
共有 1 个文件被更改,包括 6 次插入0 次删除
  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