@@ -3476,93 +3476,94 @@ void LoadEnvironment(Environment* env) {
34763476static void PrintHelp () {
34773477 // XXX: If you add an option here, please also add it to doc/node.1 and
34783478 // doc/api/cli.md
3479- printf (" Usage: node [options] [ -e script | script.js ] [arguments] \n "
3480- " node debug script.js [arguments] \n "
3479+ printf (" Usage: node [options] [ -e script | script.js ] [arguments]\n "
3480+ " node debug script.js [arguments]\n "
34813481 " \n "
34823482 " Options:\n "
3483- " -v, --version print Node.js version\n "
3484- " -e, --eval script evaluate script\n "
3485- " -p, --print evaluate script and print result\n "
3486- " -c, --check syntax check script without executing\n "
3487- " -i, --interactive always enter the REPL even if stdin\n "
3488- " does not appear to be a terminal\n "
3489- " -r, --require module to preload (option can be "
3483+ " -v, --version print Node.js version\n "
3484+ " -e, --eval script evaluate script\n "
3485+ " -p, --print evaluate script and print result\n "
3486+ " -c, --check syntax check script without executing\n "
3487+ " -i, --interactive always enter the REPL even if stdin\n "
3488+ " does not appear to be a terminal\n "
3489+ " -r, --require module to preload (option can be "
34903490 " repeated)\n "
34913491#if HAVE_INSPECTOR
3492- " --inspect[=host:port] activate inspector on host:port\n "
3493- " (default: 127.0.0.1:9229)\n "
3492+ " --inspect[=host:port] activate inspector on host:port\n "
3493+ " (default: 127.0.0.1:9229)\n "
34943494 " --inspect-brk[=host:port] activate inspector on host:port\n "
34953495 " and break at start of user script\n "
34963496#endif
3497- " --no-deprecation silence deprecation warnings\n "
3498- " --trace-deprecation show stack traces on deprecations\n "
3499- " --throw-deprecation throw an exception on deprecations\n "
3500- " --no-warnings silence all process warnings\n "
3501- " --trace-warnings show stack traces on process warnings\n "
3502- " --trace-sync-io show stack trace when use of sync IO\n "
3503- " is detected after the first tick\n "
3504- " --trace-events-enabled track trace events\n "
3505- " --trace-event-categories comma separated list of trace event\n "
3506- " categories to record\n "
3507- " --track-heap-objects track heap object allocations for heap "
3497+ " --no-deprecation silence deprecation warnings\n "
3498+ " --trace-deprecation show stack traces on deprecations\n "
3499+ " --throw-deprecation throw an exception on deprecations\n "
3500+ " --no-warnings silence all process warnings\n "
3501+ " --trace-warnings show stack traces on process warnings\n "
3502+ " --trace-sync-io show stack trace when use of sync IO\n "
3503+ " is detected after the first tick\n "
3504+ " --trace-events-enabled track trace events\n "
3505+ " --trace-event-categories comma separated list of trace event\n "
3506+ " categories to record\n "
3507+ " --track-heap-objects track heap object allocations for heap "
35083508 " snapshots\n "
3509- " --prof-process process v8 profiler output generated\n "
3510- " using --prof\n "
3511- " --zero-fill-buffers automatically zero-fill all newly "
3509+ " --prof-process process v8 profiler output generated\n "
3510+ " using --prof\n "
3511+ " --zero-fill-buffers automatically zero-fill all newly "
35123512 " allocated\n "
3513- " Buffer and SlowBuffer instances\n "
3514- " --v8-options print v8 command line options\n "
3515- " --v8-pool-size=num set v8's thread pool size\n "
3513+ " Buffer and SlowBuffer instances\n "
3514+ " --v8-options print v8 command line options\n "
3515+ " --v8-pool-size=num set v8's thread pool size\n "
35163516#if HAVE_OPENSSL
3517- " --tls-cipher-list=val use an alternative default TLS cipher "
3517+ " --tls-cipher-list=val use an alternative default TLS cipher "
35183518 " list\n "
3519- " --use-bundled-ca use bundled CA store"
3519+ " --use-bundled-ca use bundled CA store"
35203520#if !defined(NODE_OPENSSL_CERT_STORE)
35213521 " (default)"
35223522#endif
35233523 " \n "
3524- " --use-openssl-ca use OpenSSL's default CA store"
3524+ " --use-openssl-ca use OpenSSL's default CA store"
35253525#if defined(NODE_OPENSSL_CERT_STORE)
35263526 " (default)"
35273527#endif
35283528 " \n "
35293529#if NODE_FIPS_MODE
3530- " --enable-fips enable FIPS crypto at startup\n "
3531- " --force-fips force FIPS crypto (cannot be disabled)\n "
3530+ " --enable-fips enable FIPS crypto at startup\n "
3531+ " --force-fips force FIPS crypto (cannot be disabled)\n "
35323532#endif /* NODE_FIPS_MODE */
3533- " --openssl-config=path load OpenSSL configuration file from the \n "
3534- " specified path\n "
3533+ " --openssl-config=path load OpenSSL configuration file from\n "
3534+ " the specified path\n "
35353535#endif /* HAVE_OPENSSL */
35363536#if defined(NODE_HAVE_I18N_SUPPORT)
3537- " --icu-data-dir=dir set ICU data load path to dir\n "
3538- " (overrides NODE_ICU_DATA)\n "
3537+ " --icu-data-dir=dir set ICU data load path to dir\n "
3538+ " (overrides NODE_ICU_DATA)\n "
35393539#if !defined(NODE_HAVE_SMALL_ICU)
3540- " note: linked-in ICU data is present\n "
3540+ " note: linked-in ICU data is present\n "
35413541#endif
3542- " --preserve-symlinks preserve symbolic links when resolving\n "
3543- " and caching modules\n "
3542+ " --preserve-symlinks preserve symbolic links when resolving\n "
3543+ " and caching modules\n "
35443544#endif
35453545 " \n "
35463546 " Environment variables:\n "
3547- " NODE_DEBUG ','-separated list of core modules that\n "
3548- " should print debug information\n "
3549- " NODE_DISABLE_COLORS set to 1 to disable colors in the REPL\n "
3550- " NODE_EXTRA_CA_CERTS path to additional CA certificates file\n "
3547+ " NODE_DEBUG ','-separated list of core modules\n "
3548+ " that should print debug information\n "
3549+ " NODE_DISABLE_COLORS set to 1 to disable colors in the REPL\n "
3550+ " NODE_EXTRA_CA_CERTS path to additional CA certificates\n "
3551+ " file\n "
35513552#if defined(NODE_HAVE_I18N_SUPPORT)
3552- " NODE_ICU_DATA data path for ICU (Intl object) data\n "
3553+ " NODE_ICU_DATA data path for ICU (Intl object) data\n "
35533554#if !defined(NODE_HAVE_SMALL_ICU)
3554- " (will extend linked-in data)\n "
3555+ " (will extend linked-in data)\n "
35553556#endif
35563557#endif
3557- " NODE_NO_WARNINGS set to 1 to silence process warnings\n "
3558+ " NODE_NO_WARNINGS set to 1 to silence process warnings\n "
35583559#ifdef _WIN32
3559- " NODE_PATH ';'-separated list of directories\n "
3560+ " NODE_PATH ';'-separated list of directories\n "
35603561#else
3561- " NODE_PATH ':'-separated list of directories\n "
3562+ " NODE_PATH ':'-separated list of directories\n "
35623563#endif
3563- " prefixed to the module search path\n "
3564- " NODE_REPL_HISTORY path to the persistent REPL history file \n "
3565- " \n "
3564+ " prefixed to the module search path\n "
3565+ " NODE_REPL_HISTORY path to the persistent REPL history\n "
3566+ " file \n "
35663567 " Documentation can be found at https://nodejs.org/\n " );
35673568}
35683569
0 commit comments