Skip to content

Commit 9d9e185

Browse files
cjihrigtargos
authored andcommitted
doc: list largepage values in --help
This commit adds the supported --use-largepages values to the --help menu. PR-URL: #31537 Fixes: #31533 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 49ddd36 commit 9d9e185

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/node_options.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,10 @@ PerProcessOptionsParser::PerProcessOptionsParser(
807807
#endif
808808
#endif
809809
AddOption("--use-largepages",
810-
"Map the Node.js static code to large pages",
810+
"Map the Node.js static code to large pages. Options are "
811+
"'off' (the default value, meaning do not map), "
812+
"'on' (map and ignore failure, reporting it to stderr), "
813+
"or 'silent' (map and silently ignore failure)",
811814
&PerProcessOptions::use_largepages,
812815
kAllowedInEnvironment);
813816

0 commit comments

Comments
 (0)