Skip to content

Commit 4cbdac3

Browse files
sam-githubjasnell
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 <[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]>
1 parent 9f01b34 commit 4cbdac3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node.cc

+2-2
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)