Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMichael Garvin <gar+gh@danger.computer>2021-01-12 22:33:58 +0300
committerMichael Garvin <gar+gh@danger.computer>2021-01-15 00:17:21 +0300
commitcd5eeaaa08eabb505b65747a428c3c59159663dc (patch)
tree396a8a90f31579b2968c11636bf4030678f3089a /docs
parent9b55b798ed8f2b9be7b3199a1bfc23b1cd89c4cd (diff)
fix(docs): re-add `-S`
Diffstat (limited to 'docs')
-rw-r--r--docs/content/commands/npm-uninstall.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/content/commands/npm-uninstall.md b/docs/content/commands/npm-uninstall.md
index 0d7a5bbe9..77945b5e4 100644
--- a/docs/content/commands/npm-uninstall.md
+++ b/docs/content/commands/npm-uninstall.md
@@ -7,7 +7,7 @@ description: Remove a package
### Synopsis
```bash
-npm uninstall [<@scope>/]<pkg>[@<version>]... [--save|--no-save]
+npm uninstall [<@scope>/]<pkg>[@<version>]... [-S|--save|--no-save]
aliases: remove, rm, r, un, unlink
```
@@ -27,10 +27,10 @@ will update those files as well.
`--no-save` will tell npm not to remove the package from your
`package.json`, `npm-shrinkwrap.json`, or `package-lock.json` files.
-`--save` will tell npm to remove the package from your `package.json`,
-`npm-shrinkwrap.json`, and `package-lock.json` files. This is the
-default, but you may need to use this if you have for instance
-`save=false` in your `npmrc` file
+`--save` or `-S` will tell npm to remove the package from your
+`package.json`, `npm-shrinkwrap.json`, and `package-lock.json` files.
+This is the default, but you may need to use this if you have for
+instance `save=false` in your `npmrc` file
In global mode (ie, with `-g` or `--global` appended to the command),
it uninstalls the current package context as a global package.