This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
npm -h (help) and -l (usage) output does not describe all command options. #16680
Closed
1 of 4 tasks
Labels
I'm opening this issue because:
What's going wrong?
When I run
npm -h
ornpm -l
, I do not see an explanation of the-s
flag. I expect an exhaustive list of global options including, e.g.,-s
and other global options which I would have to read the source code to find.How can the CLI team reproduce the problem?
Run
npm -h
ornpm -l
and search the output for a description of-s
and other global options as foudn when reading the source.Standard CLI practice for programs which support
-h
as a “help” switch is to list all global flags in the help output. For example:When I try looking up the first line of description for
-s
I find nothing:supporting information:
npm -v
prints: 4.6.1node -v
prints: 7.0.0npm config get registry
prints: https://registry.npmjs.org/The text was updated successfully, but these errors were encountered: