diff options
| author | David Robillard <d@drobilla.net> | 2024-10-17 18:08:51 -0400 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2024-10-21 20:26:32 +0300 |
| commit | c4ec412f281b88cd5facb631bd339e01dcec5395 (patch) | |
| tree | a73ccc6ae8620615c0bfd58eb122dfe8f63b48fa /mesonbuild/compilers/cpp.py | |
| parent | 8a75fda303471a369d0c5dcfc649e3101b88a9f6 (diff) | |
| download | meson-c4ec412f281b88cd5facb631bd339e01dcec5395.tar.gz | |
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).
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
| -rw-r--r-- | mesonbuild/compilers/cpp.py | 18 |
1 files changed, 9 insertions, 9 deletions
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] |
