confighelper: Update the help url for moved options

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2022-04-20 07:13:26 -04:00
parent 985760c584
commit f8a38abc89
No known key found for this signature in database
GPG Key ID: 7027245FBBDDF59A
1 changed files with 3 additions and 3 deletions

View File

@ -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 (