From 9c656c89fc3c1e32cc4557308c5b4d253c9e6e56 Mon Sep 17 00:00:00 2001 From: cola119 Date: Sun, 19 Jun 2022 21:40:49 +0900 Subject: [PATCH] lib: add missing env vars to --help PR-URL: https://github.com/nodejs/node/pull/43492 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Michael Dawson Reviewed-By: Feng Yu --- lib/internal/main/print_help.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/internal/main/print_help.js b/lib/internal/main/print_help.js index a2cee4b0567649..f8fc5a6075f104 100644 --- a/lib/internal/main/print_help.js +++ b/lib/internal/main/print_help.js @@ -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 ? [