From b5a0d46c556a87c63eff781927c0d2bb8fb18104 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Fri, 20 Jan 2017 10:37:56 -0500 Subject: [PATCH] src: add NODE_NO_WARNINGS to --help output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit adds a description of the NODE_NO_WARNINGS environment variable to the --help output. This was overlooked in 49902124a9d697e441dbf724aa6b26bd98f75dd0. Refs: https://github.com/nodejs/node/pull/10842 PR-URL: https://github.com/nodejs/node/pull/10918 Reviewed-By: Michaƫl Zasso Reviewed-By: Sam Roberts Reviewed-By: Italo A. Casas Reviewed-By: Roman Reiss --- src/node.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/node.cc b/src/node.cc index 36f60dfdf65b5e..227f8c9265c9a4 100644 --- a/src/node.cc +++ b/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"); }