lib: add missing env vars to --help

PR-URL: https://github.com/nodejs/node/pull/43492
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Feng Yu <F3n67u@outlook.com>
This commit is contained in:
cola119 authored and Node.js GitHub Bot committed 2022-07-28 05:43:55 +00:00
1 parent 803a7b2b23
commit 420666c1f2
1 file changed
+5
+5
View File
@@ -55,10 +55,15 @@ const envVars = new SafeMap(ArrayPrototypeConcat([
'of stderr' }],
['NODE_REPL_HISTORY', { helpText: 'path to the persistent REPL ' +
'history file' }],
['NODE_REPL_EXTERNAL_MODULE', { helpText: 'path to a Node.js module ' +
'which will be loaded in place of the built-in REPL' }],
['NODE_SKIP_PLATFORM_CHECK', { helpText: 'set to 1 to skip ' +
'the check for a supported platform during Node.js startup' }],
['NODE_TLS_REJECT_UNAUTHORIZED', { helpText: 'set to 0 to disable TLS ' +
'certificate validation' }],
['NODE_V8_COVERAGE', { helpText: 'directory to output v8 coverage JSON ' +
'to' }],
['TZ', { helpText: 'specify the timezone configuration' }],
['UV_THREADPOOL_SIZE', { helpText: 'sets the number of threads used in ' +
'libuv\'s threadpool' }],
], hasIntl ? [