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: nodejs#13120
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
sam-github authored and addaleax committed May 23, 2017
1 parent 02bf16e commit a886b17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node.cc
Original file line number Diff line number Diff line change
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 a886b17

Please sign in to comment.