Skip to content

Commit 23fc1ef

Browse files
cjihrigjasnell
authored andcommitted
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 4990212. Refs: #10842 PR-URL: #10918 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Italo A. Casas <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
1 parent 9232aa3 commit 23fc1ef

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/node.cc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3707,7 +3707,14 @@ static void PrintHelp() {
37073707
" (will extend linked-in data)\n"
37083708
#endif
37093709
#endif
3710-
"NODE_REPL_HISTORY path to the persistent REPL history file\n"
3710+
"NODE_NO_WARNINGS set to 1 to silence process warnings\n"
3711+
#ifdef _WIN32
3712+
"NODE_PATH ';'-separated list of directories\n"
3713+
#else
3714+
"NODE_PATH ':'-separated list of directories\n"
3715+
#endif
3716+
" prefixed to the module search path\n"
3717+
"NODE_REPL_HISTORY path to the persistent REPL history file\n"
37113718
"\n"
37123719
"Documentation can be found at https://nodejs.org/\n");
37133720
}

0 commit comments

Comments
 (0)