Skip to content

Conversation

@Bitshifter-9
Copy link

Fixes: #58895

This PR adds 34 missing CLI options to the node.1 man page that were previously documented only in the online CLI documentation.

Changes made:

  • Added missing CLI options to doc/node.1 in alphabetical order
  • Removed the knownFlagsMissingFromManPage exclusion list from the test file
  • Fixed the --report-dir/--report-directory entry format

Options added:

  • --build-snapshot
  • --build-snapshot-config
  • --disable-sigusr1
  • --disable-warning
  • --dns-result-order
  • --enable-network-family-autoselection
  • --env-file
  • --env-file-if-exists
  • --experimental-network-inspection
  • --experimental-print-required-tla
  • --experimental-require-module
  • --experimental-sea-config
  • --experimental-worker-inspection
  • --expose-gc
  • --force-node-api-uncaught-exceptions-policy
  • --import
  • --network-family-autoselection-attempt-timeout
  • --no-async-context-frame
  • --no-experimental-detect-module
  • --no-experimental-global-navigator
  • --no-experimental-require-module
  • --no-network-family-autoselection
  • --openssl-legacy-provider
  • --openssl-shared-config
  • --report-exclude-env
  • --report-exclude-network
  • --run
  • --snapshot-blob
  • --trace-env
  • --trace-env-js-stack
  • --trace-env-native-stack
  • --trace-require-module
  • --use-system-ca
  • --watch-preserve-output

The test test/parallel/test-cli-node-cli-manpage-options.mjs now passes successfully.

cc @nodejs/documentationFixes: #58895

@nodejs-github-bot nodejs-github-bot added the needs-ci PRs that need a full CI run. label Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some CLI options documented in the CLI docs are missing in node manpage

2 participants