From a886b17bfb48147fa2007b9968e9dce706a408a2 Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Fri, 19 May 2017 10:53:38 -0700 Subject: [PATCH] src: redirect-warnings to file, not path Use `file` as name of the argument, as the CLI documentation does. PR-URL: https://github.com/nodejs/node/pull/13120 Reviewed-By: Refael Ackermann Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Gibson Fahnestock Reviewed-By: Anna Henningsen --- src/node.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node.cc b/src/node.cc index efa090cf1f85ad..5eefed5bd4f780 100644 --- a/src/node.cc +++ b/src/node.cc @@ -3620,8 +3620,8 @@ static void PrintHelp() { " --no-warnings silence all process warnings\n" " --napi-modules load N-API modules\n" " --trace-warnings show stack traces on process warnings\n" - " --redirect-warnings=path\n" - " write warnings to path instead of\n" + " --redirect-warnings=file\n" + " write warnings to file instead of\n" " stderr\n" " --trace-sync-io show stack trace when use of sync IO\n" " is detected after the first tick\n"