Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

Commit

Permalink
fix encoding for help message
Browse files Browse the repository at this point in the history
  • Loading branch information
jBarz committed Jun 1, 2018
1 parent b5dd012 commit 2c340c3
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 @@ -3950,7 +3950,7 @@ static bool ParseDebugOpt(const char* arg) {
static void PrintHelp() {
// XXX: If you add an option here, please also add it to doc/node.1 and
// doc/api/cli.md
printf(u8"Usage: node [options] [ -e script | script.js ] [arguments] \n"
PrintOutString(u8"Usage: node [options] [ -e script | script.js ] [arguments] \n"
u8" node debug script.js [arguments] \n"
u8"\n"
u8"Options:\n"
Expand All @@ -3966,7 +3966,7 @@ static void PrintHelp() {
u8" --throw-deprecation throw an exception anytime a deprecated "
u8"function is used\n"
u8" --no-warnings silence all process warnings\n"
u8" --napi-modules load N-API modules (no-op - option kept for "
u8" --napi-modules load N-API modules (no-op - option kept for\n"
u8" compatibility)\n"
u8" --trace-warnings show stack traces on process warnings\n"
u8" --redirect-warnings=path\n"
Expand Down

0 comments on commit 2c340c3

Please sign in to comment.