Fix name of configuration parameters in documentation

This commit is contained in:
flip1995 2018-02-19 16:30:19 +01:00
parent 038b17f3a6
commit 339d2d5be0
No known key found for this signature in database
GPG key ID: 6757AB26F72F0084

View file

@ -77,7 +77,7 @@ def parse_configs(path):
confvars = re.findall(confvar_re, match.group(1)) confvars = re.findall(confvar_re, match.group(1))
for (lint, doc, name, default, ty) in confvars: for (lint, doc, name, default, ty) in confvars:
configs[lint.lower()] = Config(name, ty, doc, default) configs[lint.lower()] = Config(name.replace("_", "-"), ty, doc, default)
return configs return configs