--styleCheck:hint now works (#13055)
This commit is contained in:
parent
1551fff853
commit
569d4d18f8
1 changed files with 1 additions and 1 deletions
|
|
@ -826,7 +826,7 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo;
|
||||||
of "stylecheck":
|
of "stylecheck":
|
||||||
case arg.normalize
|
case arg.normalize
|
||||||
of "off": conf.globalOptions = conf.globalOptions - {optStyleHint, optStyleError}
|
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}
|
of "error": conf.globalOptions = conf.globalOptions + {optStyleError}
|
||||||
else: localError(conf, info, errOffHintsError % arg)
|
else: localError(conf, info, errOffHintsError % arg)
|
||||||
of "showallmismatches":
|
of "showallmismatches":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue