summaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-10-17 18:08:51 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2024-10-21 20:26:32 +0300
commitc4ec412f281b88cd5facb631bd339e01dcec5395 (patch)
treea73ccc6ae8620615c0bfd58eb122dfe8f63b48fa /mesonbuild
parent8a75fda303471a369d0c5dcfc649e3101b88a9f6 (diff)
downloadmeson-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')
-rw-r--r--mesonbuild/compilers/c.py6
-rw-r--r--mesonbuild/compilers/cpp.py18
2 files changed, 12 insertions, 12 deletions
diff --git a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py
index f67281f04..5868211a6 100644
--- a/mesonbuild/compilers/c.py
+++ b/mesonbuild/compilers/c.py
@@ -158,7 +158,7 @@ class ClangCCompiler(_ClangCStds, ClangCompiler, CCompiler):
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
@@ -311,7 +311,7 @@ class GnuCCompiler(GnuCompiler, CCompiler):
opts,
self.create_option(options.UserArrayOption,
key.evolve('c_winlibs'),
- 'Standard Win libraries to link against',
+ 'Standard Windows libs to link against',
gnu_winlibs),
)
return opts
@@ -462,7 +462,7 @@ class VisualStudioLikeCCompilerMixin(CompilerMixinBase):
self.create_option(
options.UserArrayOption,
self.form_compileropt_key('winlibs'),
- 'Windows libs to link against.',
+ 'Standard Windows libs to link against',
msvc_winlibs,
),
)
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]