Skip to content

Commit

Permalink
src: redirect-warnings to file, not path
Browse files Browse the repository at this point in the history
Use `file` as name of the argument, as the CLI documentation does.

PR-URL: #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>
  • Loading branch information
sam-github authored and jasnell committed May 28, 2017
1 parent 9f01b34 commit 4cbdac3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node.cc
Expand Up @@ -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"
Expand Down

0 comments on commit 4cbdac3

Please sign in to comment.