Skip to content

Commit 529449c

Browse files
committed
meson: Use consistent casing in Meson option descriptions
Meson itself uses capital letters for option descriptions, so follow that. Author: Tristan Partin <tristan@neon.tech> Discussion: https://www.postgresql.org/message-id/flat/CSPIJVUDZFKX.3KHMOAVGF94RV%40c3po
1 parent 559bdd5 commit 529449c

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

meson_options.txt

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
option('blocksize', type : 'combo',
66
choices : ['1', '2', '4', '8', '16', '32'],
77
value : '8',
8-
description: 'set relation block size in kB')
8+
description: 'Set relation block size in kB')
99

1010
option('wal_blocksize', type : 'combo',
1111
choices: ['1', '2', '4', '8', '16', '32', '64'],
@@ -25,7 +25,7 @@ option('krb_srvnam', type : 'string', value : 'postgres',
2525
description : 'Default Kerberos service principal for GSSAPI')
2626

2727
option('system_tzdata', type: 'string', value: '',
28-
description: 'use system time zone data in specified directory')
28+
description: 'Use system time zone data in specified directory')
2929

3030

3131
# Defaults
@@ -38,7 +38,7 @@ option('pgport', type : 'integer', value : 5432,
3838
# Developer options
3939

4040
option('cassert', type : 'boolean', value: false,
41-
description: 'enable assertion checks (for debugging)')
41+
description: 'Enable assertion checks (for debugging)')
4242

4343
option('tap_tests', type : 'feature', value : 'auto',
4444
description : 'Whether to enable tap tests')
@@ -47,43 +47,43 @@ option('PG_TEST_EXTRA', type : 'string', value: '',
4747
description: 'Enable selected extra tests')
4848

4949
option('atomics', type : 'boolean', value: true,
50-
description: 'whether to use atomic operations')
50+
description: 'Whether to use atomic operations')
5151

5252
option('spinlocks', type : 'boolean', value: true,
53-
description: 'whether to use spinlocks')
53+
description: 'Whether to use spinlocks')
5454

5555

5656
# Compilation options
5757

5858
option('extra_include_dirs', type : 'array', value: [],
59-
description: 'non-default directories to be searched for headers')
59+
description: 'Non-default directories to be searched for headers')
6060

6161
option('extra_lib_dirs', type : 'array', value: [],
62-
description: 'non-default directories to be searched for libs')
62+
description: 'Non-default directories to be searched for libs')
6363

6464
option('extra_version', type : 'string', value: '',
65-
description: 'append STRING to the PostgreSQL version number')
65+
description: 'Append STRING to the PostgreSQL version number')
6666

6767
option('darwin_sysroot', type : 'string', value: '',
68-
description: 'select a non-default sysroot path')
68+
description: 'Select a non-default sysroot path')
6969

7070
option('rpath', type : 'boolean', value: true,
71-
description: 'whether to embed shared library search path in executables')
71+
description: 'Whether to embed shared library search path in executables')
7272

7373

7474
# External dependencies
7575

7676
option('bonjour', type : 'feature', value: 'auto',
77-
description: 'build with Bonjour support')
77+
description: 'Build with Bonjour support')
7878

7979
option('bsd_auth', type : 'feature', value: 'auto',
80-
description: 'build with BSD Authentication support')
80+
description: 'Build with BSD Authentication support')
8181

8282
option('docs', type : 'feature', value: 'auto',
83-
description: 'documentation in HTML and man page format')
83+
description: 'Documentation in HTML and man page format')
8484

8585
option('docs_pdf', type : 'feature', value: 'auto',
86-
description: 'documentation in PDF format')
86+
description: 'Documentation in PDF format')
8787

8888
option('docs_html_style', type : 'combo', choices: ['simple', 'website'],
8989
description: 'CSS stylesheet for HTML documentation')
@@ -110,102 +110,102 @@ option('libxslt', type : 'feature', value: 'auto',
110110
description: 'XSLT support in contrib/xml2')
111111

112112
option('llvm', type : 'feature', value: 'disabled',
113-
description: 'whether to use llvm')
113+
description: 'Whether to use llvm')
114114

115115
option('lz4', type : 'feature', value: 'auto',
116116
description: 'LZ4 support')
117117

118118
option('nls', type: 'feature', value: 'auto',
119-
description: 'native language support')
119+
description: 'Native language support')
120120

121121
option('pam', type : 'feature', value: 'auto',
122-
description: 'build with PAM support')
122+
description: 'Build with PAM support')
123123

124124
option('plperl', type : 'feature', value: 'auto',
125-
description: 'build Perl modules (PL/Perl)')
125+
description: 'Build Perl modules (PL/Perl)')
126126

127127
option('plpython', type : 'feature', value: 'auto',
128-
description: 'build Python modules (PL/Python)')
128+
description: 'Build Python modules (PL/Python)')
129129

130130
option('pltcl', type : 'feature', value: 'auto',
131-
description: 'build with TCL support')
131+
description: 'Build with TCL support')
132132

133133
option('tcl_version', type : 'string', value : 'tcl',
134-
description: 'specify TCL version')
134+
description: 'Specify TCL version')
135135

136136
option('readline', type : 'feature', value : 'auto',
137-
description: 'use GNU Readline or BSD Libedit for editing')
137+
description: 'Use GNU Readline or BSD Libedit for editing')
138138

139139
option('selinux', type : 'feature', value : 'disabled',
140-
description: 'build with SELinux support')
140+
description: 'Build with SELinux support')
141141

142142
option('ssl', type : 'combo', choices : ['auto', 'none', 'openssl'],
143143
value : 'auto',
144-
description: 'use LIB for SSL/TLS support (openssl)')
144+
description: 'Use LIB for SSL/TLS support (openssl)')
145145

146146
option('systemd', type : 'feature', value: 'auto',
147-
description: 'build with systemd support')
147+
description: 'Build with systemd support')
148148

149149
option('uuid', type : 'combo', choices : ['none', 'bsd', 'e2fs', 'ossp'],
150150
value : 'none',
151-
description: 'build contrib/uuid-ossp using LIB')
151+
description: 'Build contrib/uuid-ossp using LIB')
152152

153153
option('zlib', type : 'feature', value: 'auto',
154-
description: 'whether to use zlib')
154+
description: 'Whether to use zlib')
155155

156156
option('zstd', type : 'feature', value: 'auto',
157-
description: 'whether to use zstd')
157+
description: 'Whether to use zstd')
158158

159159

160160
# Programs
161161

162162
option('BISON', type : 'array', value: ['bison', 'win_bison'],
163-
description: 'path to bison binary')
163+
description: 'Path to bison binary')
164164

165165
option('DTRACE', type : 'string', value: 'dtrace',
166-
description: 'path to dtrace binary')
166+
description: 'Path to dtrace binary')
167167

168168
option('FLEX', type : 'array', value: ['flex', 'win_flex'],
169-
description: 'path to flex binary')
169+
description: 'Path to flex binary')
170170

171171
option('FOP', type : 'string', value: 'fop',
172-
description: 'path to fop binary')
172+
description: 'Path to fop binary')
173173

174174
option('GZIP', type : 'string', value: 'gzip',
175-
description: 'path to gzip binary')
175+
description: 'Path to gzip binary')
176176

177177
option('LZ4', type : 'string', value: 'lz4',
178-
description: 'path to lz4 binary')
178+
description: 'Path to lz4 binary')
179179

180180
option('OPENSSL', type : 'string', value: 'openssl',
181-
description: 'path to openssl binary')
181+
description: 'Path to openssl binary')
182182

183183
option('PERL', type : 'string', value: 'perl',
184-
description: 'path to perl binary')
184+
description: 'Path to perl binary')
185185

186186
option('PROVE', type : 'string', value: 'prove',
187-
description: 'path to prove binary')
187+
description: 'Path to prove binary')
188188

189189
option('PYTHON', type : 'array', value: ['python3', 'python'],
190-
description: 'path to python binary')
190+
description: 'Path to python binary')
191191

192192
option('SED', type : 'string', value: 'gsed',
193-
description: 'path to sed binary')
193+
description: 'Path to sed binary')
194194

195195
option('STRIP', type : 'string', value: 'strip',
196-
description: 'path to strip binary, used for PGXS emulation')
196+
description: 'Path to strip binary, used for PGXS emulation')
197197

198198
option('TAR', type : 'string', value: 'tar',
199-
description: 'path to tar binary')
199+
description: 'Path to tar binary')
200200

201201
option('XMLLINT', type : 'string', value: 'xmllint',
202-
description: 'path to xmllint binary')
202+
description: 'Path to xmllint binary')
203203

204204
option('XSLTPROC', type : 'string', value: 'xsltproc',
205-
description: 'path to xsltproc binary')
205+
description: 'Path to xsltproc binary')
206206

207207
option('ZSTD', type : 'string', value: 'zstd',
208-
description: 'path to zstd binary')
208+
description: 'Path to zstd binary')
209209

210210
option('ZIC', type : 'string', value: 'zic',
211-
description: 'path to zic binary, when cross-compiling')
211+
description: 'Path to zic binary, when cross-compiling')

0 commit comments

Comments
 (0)