Browse Source

src: add NODE_NO_WARNINGS to --help output

This commit adds a description of the NODE_NO_WARNINGS
environment variable to the --help output. This was overlooked
in 49902124a9.

Refs: https://github.com/nodejs/node/pull/10842
PR-URL: https://github.com/nodejs/node/pull/10918
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
v6.x
cjihrig 8 years ago
committed by Myles Borins
parent
commit
b5a0d46c55
No known key found for this signature in database GPG Key ID: 933B01F40B5CA946
  1. 9
      src/node.cc

9
src/node.cc

@ -3707,7 +3707,14 @@ static void PrintHelp() {
" (will extend linked-in data)\n"
#endif
#endif
"NODE_REPL_HISTORY path to the persistent REPL history file\n"
"NODE_NO_WARNINGS set to 1 to silence process warnings\n"
#ifdef _WIN32
"NODE_PATH ';'-separated list of directories\n"
#else
"NODE_PATH ':'-separated list of directories\n"
#endif
" prefixed to the module search path\n"
"NODE_REPL_HISTORY path to the persistent REPL history file\n"
"\n"
"Documentation can be found at https://nodejs.org/\n");
}

Loading…
Cancel
Save