@@ -3476,93 +3476,94 @@ void LoadEnvironment(Environment* env) {
3476
3476
static void PrintHelp () {
3477
3477
// XXX: If you add an option here, please also add it to doc/node.1 and
3478
3478
// 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 "
3481
3481
" \n "
3482
3482
" 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 "
3490
3490
" repeated)\n "
3491
3491
#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 "
3494
3494
" --inspect-brk[=host:port] activate inspector on host:port\n "
3495
3495
" and break at start of user script\n "
3496
3496
#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 "
3508
3508
" 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 "
3512
3512
" 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 "
3516
3516
#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 "
3518
3518
" list\n "
3519
- " --use-bundled-ca use bundled CA store"
3519
+ " --use-bundled-ca use bundled CA store"
3520
3520
#if !defined(NODE_OPENSSL_CERT_STORE)
3521
3521
" (default)"
3522
3522
#endif
3523
3523
" \n "
3524
- " --use-openssl-ca use OpenSSL's default CA store"
3524
+ " --use-openssl-ca use OpenSSL's default CA store"
3525
3525
#if defined(NODE_OPENSSL_CERT_STORE)
3526
3526
" (default)"
3527
3527
#endif
3528
3528
" \n "
3529
3529
#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 "
3532
3532
#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 "
3535
3535
#endif /* HAVE_OPENSSL */
3536
3536
#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 "
3539
3539
#if !defined(NODE_HAVE_SMALL_ICU)
3540
- " note: linked-in ICU data is present\n "
3540
+ " note: linked-in ICU data is present\n "
3541
3541
#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 "
3544
3544
#endif
3545
3545
" \n "
3546
3546
" 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 "
3551
3552
#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 "
3553
3554
#if !defined(NODE_HAVE_SMALL_ICU)
3554
- " (will extend linked-in data)\n "
3555
+ " (will extend linked-in data)\n "
3555
3556
#endif
3556
3557
#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 "
3558
3559
#ifdef _WIN32
3559
- " NODE_PATH ';'-separated list of directories\n "
3560
+ " NODE_PATH ';'-separated list of directories\n "
3560
3561
#else
3561
- " NODE_PATH ':'-separated list of directories\n "
3562
+ " NODE_PATH ':'-separated list of directories\n "
3562
3563
#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 "
3566
3567
" Documentation can be found at https://nodejs.org/\n " );
3567
3568
}
3568
3569
0 commit comments