Skip to content

Commit faec87b

Browse files
cjihrigcodebytere
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 <[email protected]> Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent ebdcafa commit faec87b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/node_options.cc

+4-1
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,10 @@ PerProcessOptionsParser::PerProcessOptionsParser(
754754
#endif
755755
#endif
756756
AddOption("--use-largepages",
757-
"Map the Node.js static code to large pages",
757+
"Map the Node.js static code to large pages. Options are "
758+
"'off' (the default value, meaning do not map), "
759+
"'on' (map and ignore failure, reporting it to stderr), "
760+
"or 'silent' (map and silently ignore failure)",
758761
&PerProcessOptions::use_largepages,
759762
kAllowedInEnvironment);
760763

0 commit comments

Comments
 (0)