aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/modules/hotdoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/hotdoc.py b/mesonbuild/modules/hotdoc.py
index d17db77..9106a94 100644
--- a/mesonbuild/modules/hotdoc.py
+++ b/mesonbuild/modules/hotdoc.py
@@ -328,7 +328,7 @@ class HotdocTargetBuilder:
self.cmd.extend(['--include-path', path])
if self.state.environment.coredata.get_option(mesonlib.OptionKey('werror', subproject=self.state.subproject)):
- self.cmd.append('--fatal-warning')
+ self.cmd.append('--fatal-warnings')
self.generate_hotdoc_config()
target_cmd = self.build_command + ["--internal", "hotdoc"] + \