confighelper: Update the help url for moved options
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
985760c584
commit
f8a38abc89
|
@ -148,13 +148,13 @@ class ConfigHelper:
|
|||
self.server.add_warning(
|
||||
f"[{self.section}]: Option '{option}' is "
|
||||
"deprecated, see the configuration documention "
|
||||
f"at {DOCS_URL}/configuration")
|
||||
f"at {DOCS_URL}/configuration/")
|
||||
if warn_fallback:
|
||||
help = f"{DOCS_URL}/configuration/#option-moved-deprecations"
|
||||
self.server.add_warning(
|
||||
f"[{section}]: Option '{option}' has been moved "
|
||||
f"to section [{self.section}]. Please correct your "
|
||||
f"configuration, see {DOCS_URL}/configuration for "
|
||||
f"detailed documentation."
|
||||
f"configuration, see {help} for detailed documentation."
|
||||
)
|
||||
self._check_option(option, val, above, below, minval, maxval)
|
||||
if (
|
||||
|
|
Loading…
Reference in New Issue