-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Open
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.
Description
Version
24
Platform
All
Subsystem
doc
What steps will reproduce the bug?
Run man node
and view the OPTIONS
section
Compare it to https://nodejs.org/api/cli.html#options (permalink)
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
Whatever is documented in the CLI documentation should also be documented in the node manpage
What do you see instead?
The following options are missing:
build-snapshot
build-snapshot-config
disable-sigusr1
disable-warning
dns-result-order
enable-network-family-autoselection
env-file-if-exists
env-file
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-dir
report-directory
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
Additional information
They need to be added in the appropriate node.1 section.
Afterwords the following code, since no longer necessary, needs to be removed:
node/test/parallel/test-cli-node-cli-manpage-options.mjs
Lines 21 to 60 in 4b4aaf9
// TODO(dario-piotrowicz): add the missing flags to the node.1 and remove this set | |
// (refs: https://github.com/nodejs/node/issues/58895) | |
const knownFlagsMissingFromManPage = new Set([ | |
'build-snapshot', | |
'build-snapshot-config', | |
'disable-sigusr1', | |
'disable-warning', | |
'dns-result-order', | |
'enable-network-family-autoselection', | |
'env-file-if-exists', | |
'env-file', | |
'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-dir', | |
'report-directory', | |
'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', | |
]); |
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.