mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-28 01:21:40 +00:00
Change --useColors to --colors:on|off and add help
Since we introduced automatic colors on terminals (via isatty) there is no way to turn it off, since (undocumented) --useColors just turns them on. This replaces --useColors with --colors:on|off, so anyone who prefers non-colored compiler messages may now turn it off now.
This commit is contained in:
@@ -16,6 +16,7 @@ Advanced commands:
|
||||
Advanced options:
|
||||
-o, --out:FILE set the output filename
|
||||
--stdout output to stdout
|
||||
--colors:on|off turn compiler messages coloring on|off
|
||||
--listFullPaths list full paths in messages
|
||||
-w, --warnings:on|off turn all warnings on|off
|
||||
--warning[X]:on|off turn specific warning X on|off
|
||||
|
||||
Reference in New Issue
Block a user