From 22724894c99845755dfdafc2a87236fc311343f1 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Mon, 27 Jan 2020 10:07:46 -0500 Subject: [PATCH] doc: list largepage values in --help This commit adds the supported --use-largepages values to the --help menu. PR-URL: https://github.com/nodejs/node/pull/31537 Fixes: https://github.com/nodejs/node/issues/31533 Reviewed-By: Anna Henningsen Reviewed-By: Denys Otrishko Reviewed-By: David Carlier Reviewed-By: James M Snell Reviewed-By: Ben Noordhuis Reviewed-By: Rich Trott --- src/node_options.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/node_options.cc b/src/node_options.cc index 8c801f500c3c54..4928170a24b1a0 100644 --- a/src/node_options.cc +++ b/src/node_options.cc @@ -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);