From c4ec412f281b88cd5facb631bd339e01dcec5395 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 17 Oct 2024 18:08:51 -0400 Subject: compilers: Fix inconsistent option descriptions Remove trailing periods for consistency with other option descriptions, and use a consistent description for `winlibs` options everywhere (the one in the documentation). --- mesonbuild/compilers/cpp.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'mesonbuild/compilers/cpp.py') diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index 930e7b7e5..5b654be5d 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -244,7 +244,7 @@ class ClangCPPCompiler(_StdCPPLibMixin, ClangCompiler, CPPCompiler): opts, self.create_option(options.UserComboOption, self.form_compileropt_key('eh'), - 'C++ exception handling type.', + 'C++ exception handling type', ['none', 'default', 'a', 's', 'sc'], 'default'), self.create_option(options.UserBooleanOption, @@ -271,7 +271,7 @@ class ClangCPPCompiler(_StdCPPLibMixin, ClangCompiler, CPPCompiler): opts, self.create_option(options.UserArrayOption, self.form_compileropt_key('winlibs'), - 'Standard Win libraries to link against', + 'Standard Windows libs to link against', gnu_winlibs), ) return opts @@ -407,7 +407,7 @@ class ArmclangCPPCompiler(ArmclangCompiler, CPPCompiler): opts, self.create_option(options.UserComboOption, key.evolve('eh'), - 'C++ exception handling type.', + 'C++ exception handling type', ['none', 'default', 'a', 's', 'sc'], 'default'), ) @@ -457,7 +457,7 @@ class GnuCPPCompiler(_StdCPPLibMixin, GnuCompiler, CPPCompiler): opts, self.create_option(options.UserComboOption, self.form_compileropt_key('eh'), - 'C++ exception handling type.', + 'C++ exception handling type', ['none', 'default', 'a', 's', 'sc'], 'default'), self.create_option(options.UserBooleanOption, @@ -485,7 +485,7 @@ class GnuCPPCompiler(_StdCPPLibMixin, GnuCompiler, CPPCompiler): opts, self.create_option(options.UserArrayOption, key.evolve('cpp_winlibs'), - 'Standard Win libraries to link against', + 'Standard Windows libs to link against', gnu_winlibs), ) return opts @@ -612,7 +612,7 @@ class ElbrusCPPCompiler(ElbrusCompiler, CPPCompiler): opts, self.create_option(options.UserComboOption, self.form_compileropt_key('eh'), - 'C++ exception handling type.', + 'C++ exception handling type', ['none', 'default', 'a', 's', 'sc'], 'default'), self.create_option(options.UserBooleanOption, @@ -693,7 +693,7 @@ class IntelCPPCompiler(IntelGnuLikeCompiler, CPPCompiler): opts, self.create_option(options.UserComboOption, self.form_compileropt_key('eh'), - 'C++ exception handling type.', + 'C++ exception handling type', ['none', 'default', 'a', 's', 'sc'], 'default'), self.create_option(options.UserBooleanOption, @@ -766,7 +766,7 @@ class VisualStudioLikeCPPCompilerMixin(CompilerMixinBase): opts, self.create_option(options.UserComboOption, self.form_compileropt_key('eh'), - 'C++ exception handling type.', + 'C++ exception handling type', ['none', 'default', 'a', 's', 'sc'], 'default'), self.create_option(options.UserBooleanOption, @@ -775,7 +775,7 @@ class VisualStudioLikeCPPCompilerMixin(CompilerMixinBase): True), self.create_option(options.UserArrayOption, self.form_compileropt_key('winlibs'), - 'Windows libs to link against.', + 'Standard Windows libs to link against', msvc_winlibs), ) std_opt = opts[key] -- cgit v1.2.3