CLICOLOR_FORCE.rst 618 B

12345678910111213141516171819
  1. CLICOLOR_FORCE
  2. --------------
  3. .. versionadded:: 3.5
  4. .. include:: ENV_VAR.txt
  5. Set to a non-empty value, other than ``0``, to tell command-line
  6. tools to print color messages even if not connected to a terminal.
  7. This is a `common convention`_ among command-line tools in general.
  8. See also the :envvar:`CLICOLOR` environment variable.
  9. :envvar:`!CLICOLOR_FORCE`, if activated, takes precedence over
  10. :envvar:`CLICOLOR`.
  11. See the :variable:`CMAKE_COLOR_DIAGNOSTICS` variable to control
  12. color in a generated build system.
  13. .. _`common convention`: https://web.archive.org/web/20230417221418/https://bixense.com/clicolors/