GeezerVison is showing github.com — doc: update environment vars in manpage and --help · nodejs/node@a6cb3a5
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/node.1 +7-1Lines changed: 7 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -72,9 +72,15 @@ and servers. |
72 | 72 |
|
73 | 73 | .IP NODE_PATH |
74 | 74 | \':\'\-separated list of directories prefixed to the module search path. |
75 | | - |
76 | 75 | .IP NODE_DISABLE_COLORS |
77 | 76 | If set to 1 then colors will not be used in the REPL. |
| 77 | +.IP NODE_ICU_DATA |
| 78 | +Data path for ICU (Intl object) data. Will extend linked-in data when compiled |
| 79 | +with small-icu support. |
| 80 | +.IP NODE_REPL_HISTORY |
| 81 | +Path to the file used to store the persistent REPL history. The default path |
| 82 | +is ~/.node_repl_history, which is overridden by this variable. Setting the |
| 83 | +value to an empty string ("") disables persistent REPL history. |
78 | 84 |
|
79 | 85 | .SH V8 OPTIONS |
80 | 86 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: src/node.cc +4-3Lines changed: 4 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -3066,7 +3066,7 @@ static void PrintHelp() { |
3066 | 3066 | " --icu-data-dir=dir set ICU data load path to dir\n" |
3067 | 3067 | " (overrides NODE_ICU_DATA)\n" |
3068 | 3068 | #if !defined(NODE_HAVE_SMALL_ICU) |
3069 | | - " Note: linked-in ICU data is\n" |
| 3069 | + " note: linked-in ICU data is\n" |
3070 | 3070 | " present.\n" |
3071 | 3071 | #endif |
3072 | 3072 | #endif |
@@ -3078,13 +3078,14 @@ static void PrintHelp() { |
3078 | 3078 | "NODE_PATH ':'-separated list of directories\n" |
3079 | 3079 | #endif |
3080 | 3080 | " prefixed to the module search path.\n" |
3081 | | - "NODE_DISABLE_COLORS Set to 1 to disable colors in the REPL\n" |
| 3081 | + "NODE_DISABLE_COLORS set to 1 to disable colors in the REPL\n" |
3082 | 3082 | #if defined(NODE_HAVE_I18N_SUPPORT) |
3083 | | - "NODE_ICU_DATA Data path for ICU (Intl object) data\n" |
| 3083 | + "NODE_ICU_DATA data path for ICU (Intl object) data\n" |
3084 | 3084 | #if !defined(NODE_HAVE_SMALL_ICU) |
3085 | 3085 | " (will extend linked-in data)\n" |
3086 | 3086 | #endif |
3087 | 3087 | #endif |
| 3088 | + "NODE_REPL_HISTORY path to the persistent REPL history file\n" |
3088 | 3089 | "\n" |
3089 | 3090 | "Documentation can be found at https://nodejs.org/\n"); |
3090 | 3091 | } |
|