Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3ef68d8

Browse filesBrowse files
cjihrigcodebytere
authored andcommitted
cli: add missing env vars to --help
This adds NODE_TLS_REJECT_UNAUTHORIZED, SSL_CERT_DIR, SSL_CERT_FILE, and UV_THREADPOOL_SIZE to the --help menu. PR-URL: #24383 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ouyang Yadong <oyydoibh@gmail.com> Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
1 parent 8df4a16 commit 3ef68d8
Copy full SHA for 3ef68d8

File tree

Expand file treeCollapse file tree

1 file changed

+9
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-1
lines changed
Open diff view settings
Collapse file

‎lib/internal/print_help.js‎

Copy file name to clipboardExpand all lines: lib/internal/print_help.js
+9-1Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,17 @@ const envVars = new Map([
2929
'of stderr' }],
3030
['NODE_REPL_HISTORY', { helpText: 'path to the persistent REPL ' +
3131
'history file' }],
32+
['NODE_TLS_REJECT_UNAUTHORIZED', { helpText: 'set to 0 to disable TLS ' +
33+
'certificate validation' }],
3234
['NODE_V8_COVERAGE', { helpText: 'directory to output v8 coverage JSON ' +
3335
'to' }],
34-
['OPENSSL_CONF', { helpText: 'load OpenSSL configuration from file' }]
36+
['OPENSSL_CONF', { helpText: 'load OpenSSL configuration from file' }],
37+
['SSL_CERT_DIR', { helpText: 'sets OpenSSL\'s directory of trusted ' +
38+
'certificates when used in conjunction with --use-openssl-ca' }],
39+
['SSL_CERT_FILE', { helpText: 'sets OpenSSL\'s trusted certificate file ' +
40+
'when used in conjunction with --use-openssl-ca' }],
41+
['UV_THREADPOOL_SIZE', { helpText: 'sets the number of threads used in ' +
42+
'libuv\'s threadpool' }]
3543
].concat(hasIntl ? [
3644
['NODE_ICU_DATA', { helpText: 'data path for ICU (Intl object) data' +
3745
hasSmallICU ? '' : ' (will extend linked-in data)' }]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.