Skip to content

Commit a886b17

Browse files
sam-githubaddaleax
authored andcommitted
src: redirect-warnings to file, not path
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>
1 parent 02bf16e commit a886b17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3620,8 +3620,8 @@ static void PrintHelp() {
36203620
" --no-warnings silence all process warnings\n"
36213621
" --napi-modules load N-API modules\n"
36223622
" --trace-warnings show stack traces on process warnings\n"
3623-
" --redirect-warnings=path\n"
3624-
" write warnings to path instead of\n"
3623+
" --redirect-warnings=file\n"
3624+
" write warnings to file instead of\n"
36253625
" stderr\n"
36263626
" --trace-sync-io show stack trace when use of sync IO\n"
36273627
" is detected after the first tick\n"

0 commit comments

Comments
 (0)