Skip to content

Commit 3ef68d8

Browse 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 <[email protected]> Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ouyang Yadong <[email protected]> Reviewed-By: Weijia Wang <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent 8df4a16 commit 3ef68d8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

‎lib/internal/print_help.js‎

Lines 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)