summaryrefslogtreecommitdiff
path: root/src/node.cc
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2017-05-19 10:53:38 -0700
committerAnna Henningsen <anna@addaleax.net>2017-05-23 20:55:03 +0200
commita886b17bfb48147fa2007b9968e9dce706a408a2 (patch)
tree68924628470a8555533d896557210b64670b80f2 /src/node.cc
parent02bf16e5aef7758900cdee51f96273c2de2b5bdf (diff)
downloadnode-new-a886b17bfb48147fa2007b9968e9dce706a408a2.tar.gz
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 <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/node.cc')
-rw-r--r--src/node.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node.cc b/src/node.cc
index efa090cf1f..5eefed5bd4 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"