-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOCS] npm install --help
out of sync with npm help install
#6467
Comments
npm install --help
out of sync with `npm help installnpm install --help
out of sync with npm help install
The long form cf cli/lib/utils/config/definitions.js Line 1692 in 37cc797
|
@wraithgar Should we append short forms (-D, -P) along with save definition usage? |
No I think just the |
I meant all of these |
We need some sort of coupling like we are doing with |
If I understand correctly, |
The docs pages automatically get populated with the configs that are included in the So the fix for this is going to be a little deeper in the code that most things. It's gonna require desiging this mechanism that the docs rendering code will know to look for. |
Is there an existing issue for this?
This is a CLI Docs Problem, not another kind of Docs Problem.
Description of Problem
npm install --help
showssave-peer
as an available option while bothnpm help install
and docs.npmjs.com make no mention of it.i'm on npm version 9.6.7
also related to this is that the
npm install --help
command does not mention the shorthand options-D, -P, ...
, tho i was unsure if that is intentionalPotential Solution
No response
Affected URL
https://docs.npmjs.com/cli/v9/commands/npm-install
The text was updated successfully, but these errors were encountered: