Skip to content

Commit

Permalink
src: add NODE_NO_WARNINGS to --help output
Browse files Browse the repository at this point in the history
This commit adds a description of the NODE_NO_WARNINGS
environment variable to the --help output. This was overlooked
in 4990212.

Refs: #10842
PR-URL: #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>
  • Loading branch information
cjihrig authored and MylesBorins committed Mar 9, 2017
1 parent 2a52a68 commit b5a0d46
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit b5a0d46

Please sign in to comment.