1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

compiler: support for -color/-nocolor option overrides

This commit is contained in:
Delyan Angelov
2020-05-20 20:33:29 +03:00
parent 80070516fd
commit 9d4fe88d09
4 changed files with 30 additions and 1 deletions

View File

@ -103,6 +103,12 @@ The build flags are shared by the build and run commands:
NB: an useful, although not entirely accurate regexp based Universal Ctags options file
for V is located in `.ctags.d/v.ctags` . If you use https://ctags.io/ , it will be used
up automatically, or you can specify it explicitly with --options=.ctags.d/v.ctags .
-color, -nocolor
Force the use of ANSI colors for the error/warning messages, or disable them completely.
By default V tries to show its errors/warnings in ANSI color. The heuristic that it uses
to detect whether or not to use ANSI colors may not work in all cases.
These options allow you to override the default detection.
For C-specific build flags, use `v help build-c`.