diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-06-11 00:16:05 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-06-11 00:19:36 +0200 |
commit | d45351f413e8a66d569556f6755a7ced5e26160e (patch) | |
tree | 6e9da905902fb493d5ac2535e90b4556ee4a7694 /misc | |
parent | b9375ea7fc135f5468dcfb8c80b51a945ac14155 (diff) |
makerst: Print colored output for easier visual grepping
This is automatically enabled on all platforms including
Windows 10 and later, whenever a TTY environment is detected.
In non-TTY environments such as CI, this can be forced using the
`--color` command line argument.
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/hooks/pre-commit-make-rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/hooks/pre-commit-make-rst b/misc/hooks/pre-commit-make-rst index 38b397c494..7d115f1d13 100755 --- a/misc/hooks/pre-commit-make-rst +++ b/misc/hooks/pre-commit-make-rst @@ -9,4 +9,4 @@ if [[ "$py_ver" != "3" ]]; then PYTHON+=3 fi -$PYTHON doc/tools/make_rst.py doc/classes modules --dry-run +$PYTHON doc/tools/make_rst.py doc/classes modules --dry-run --color |