Skip to content
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

fix(docs): clean up npm uninstall docs #2464

Closed
wants to merge 8 commits into from
Prev Previous commit
Next Next commit
fix(uninstall): match usage w/ docs
  • Loading branch information
wraithgar committed Jan 12, 2021
commit 4076d397825c68e0db79e66b979dd7bb52424243
2 changes: 1 addition & 1 deletion lib/uninstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const completion = require('./utils/completion/installed-shallow.js')

const usage = usageUtil(
'uninstall',
'npm uninstall [<@scope>/]<pkg>[@<version>]... [--save-prod|--save-dev|--save-optional] [--no-save]'
'npm uninstall [<@scope>/]<pkg>[@<version>]... [--no-save]'
)

const cmd = (args, cb) => rm(args).then(() => cb()).catch(cb)
Expand Down