From 569d4d18f85e2d9e91f2d2837f2a3a5303ae6305 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Tue, 7 Jan 2020 00:53:11 -0800 Subject: [PATCH] --styleCheck:hint now works (#13055) --- compiler/commands.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/commands.nim b/compiler/commands.nim index 4e258f8107..04c918672f 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":