Merge pull request #2983 from nanoant/patch/colors-option
Change --useColors to --colors:on|off and add help
This commit is contained in:
commit
34e332f662
2 changed files with 2 additions and 3 deletions
|
|
@ -537,9 +537,7 @@ proc processSwitch(switch, arg: string, pass: TCmdLinePass, info: TLineInfo) =
|
||||||
of "genscript":
|
of "genscript":
|
||||||
expectNoArg(switch, arg, pass, info)
|
expectNoArg(switch, arg, pass, info)
|
||||||
incl(gGlobalOptions, optGenScript)
|
incl(gGlobalOptions, optGenScript)
|
||||||
of "usecolors":
|
of "colors": processOnOffSwitchG({optUseColors}, arg, pass, info)
|
||||||
expectNoArg(switch, arg, pass, info)
|
|
||||||
incl(gGlobalOptions, optUseColors)
|
|
||||||
of "lib":
|
of "lib":
|
||||||
expectArg(switch, arg, pass, info)
|
expectArg(switch, arg, pass, info)
|
||||||
libpath = processPath(arg, notRelativeToProj=true)
|
libpath = processPath(arg, notRelativeToProj=true)
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ Advanced commands:
|
||||||
Advanced options:
|
Advanced options:
|
||||||
-o, --out:FILE set the output filename
|
-o, --out:FILE set the output filename
|
||||||
--stdout output to stdout
|
--stdout output to stdout
|
||||||
|
--colors:on|off turn compiler messages coloring on|off
|
||||||
--listFullPaths list full paths in messages
|
--listFullPaths list full paths in messages
|
||||||
-w, --warnings:on|off turn all warnings on|off
|
-w, --warnings:on|off turn all warnings on|off
|
||||||
--warning[X]:on|off turn specific warning X on|off
|
--warning[X]:on|off turn specific warning X on|off
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue