diff --git a/mesonbuild/modules/hotdoc.py b/mesonbuild/modules/hotdoc.py index d17db774c..9106a9483 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"] + \