Repository navigation
Conversation
The help text was dropping the `NODE_ICU_DATA`, `NODE_OPTIONS`, `OPENSSL_CONF`, `SSL_CERT_DIR`, and `SSL_CERT_FILE` env vars. Signed-off-by: James M Snell <jasnell@gmail.com> Assisted-by: Claude
The `node --help` output is a single alphabetical list of more than 200 options, which makes it hard to scan or to find related options. Add a required `HelpSection` argument to every `AddOption()` overload so that each option declares the section of the help output it belongs to where it is defined, and print the options grouped under those section headings. Sections are listed in node_options.h and are exposed to JavaScript through the `helpSections` binding property and a `helpSection` index on each `getCLIOptionsInfo()` entry. Assisted-by: Claude Signed-off-by: James M Snell <jasnell@gmail.com>
Group the options in doc/api/cli.md into the same sections as `node --help`, and check in test-cli-node-options-docs that each option is documented in its section. Assisted-by: Claude Signed-off-by: James M Snell <jasnell@gmail.com>
The usage section of `node --help` and the synopsis in doc/api/cli.md only listed running a script and `node inspect`. Also list the other top-level run modes: `-e`, `-p`, `--run`, `--watch`, `--test` and `--bench`. Assisted-by: Claude Signed-off-by: James M Snell <jasnell@gmail.com>
Collaborator
|
Review requested:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The cli flags have expanded significantly over the years.
This proposes grouping them...
Details