Skip to content

Commit

Permalink
doc: list largepage values in --help
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
cjihrig authored and codebytere committed Feb 17, 2020
1 parent ebdcafa commit faec87b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/node_options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,10 @@ PerProcessOptionsParser::PerProcessOptionsParser(
#endif
#endif
AddOption("--use-largepages",
"Map the Node.js static code to large pages",
"Map the Node.js static code to large pages. Options are "
"'off' (the default value, meaning do not map), "
"'on' (map and ignore failure, reporting it to stderr), "
"or 'silent' (map and silently ignore failure)",
&PerProcessOptions::use_largepages,
kAllowedInEnvironment);

Expand Down

0 comments on commit faec87b

Please sign in to comment.