ncu --doctor show the help
ejgutierrez74 opened this issue · 3 comments
ejgutierrez74 commented
raineorshine commented
ncu --doctor
is intended to show the help. The -u
modifier is required to write upgrades in doctor mode, just as ncu -u
is required to write upgrades normally.
ejgutierrez74 commented
raineorshine commented
Yes, I could see how that could be confusing. I've modified the documentation as follows:
Usage:
ncu --doctor -u ncu --no-doctor ncu -du
Iteratively installs upgrades and runs your project's tests to identify breaking upgrades. Reverts broken upgrades and updates package.json with working upgrades.
Requires -u to execute (modifies your package file, lock file, and node_modules)