diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-01-07 00:53:11 -0800 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2020-01-07 09:53:11 +0100 |
commit | 569d4d18f85e2d9e91f2d2837f2a3a5303ae6305 (patch) | |
tree | 45b1540d728c90b2c0b4c62f17454f5526d5498e /compiler | |
parent | 1551fff8532540106acf792a830fd9979e1e431b (diff) | |
download | Nim-569d4d18f85e2d9e91f2d2837f2a3a5303ae6305.tar.gz |
--styleCheck:hint now works (#13055)
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/commands.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim index 4e258f810..04c918672 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -826,7 +826,7 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo; of "stylecheck": case arg.normalize of "off": conf.globalOptions = conf.globalOptions - {optStyleHint, optStyleError} - of "hint": conf.globalOptions = conf.globalOptions + {optStyleHint} + of "hint": conf.globalOptions = conf.globalOptions + {optStyleHint} - {optStyleError} of "error": conf.globalOptions = conf.globalOptions + {optStyleError} else: localError(conf, info, errOffHintsError % arg) of "showallmismatches": |