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
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-05-14 12:22:30 +0400
committerisaacs <i@izs.me>2010-05-14 12:22:30 +0400
commit9ab3629f7a8c1cb64a722e426c849b1e0cba2edf (patch)
treedcb0d5b7f200c3babd1dadda5567cc4be7a941c6 /man/uninstall.1
parent14497a5c16b9bdec6bc808b977e8810ce9572195 (diff)
docs for new uninstall behavior.
Diffstat (limited to 'man/uninstall.1')
-rw-r--r--man/uninstall.19
1 files changed, 6 insertions, 3 deletions
diff --git a/man/uninstall.1 b/man/uninstall.1
index 169524ce6..057dc8458 100644
--- a/man/uninstall.1
+++ b/man/uninstall.1
@@ -9,12 +9,15 @@
.SH "SYNOPSIS"
.
.nf
-npm uninstall <name> <version>
-npm rm <name> <version>
+npm uninstall <name> [<version>]
+npm rm <name> [<version>]
.
.fi
.
.SH "DESCRIPTION"
This uninstalls a package, completely removing everything installed for it. If
-it's currently active, then it must be deactivated first. If anything is
+it's currently active, then it will be deactivated first, unless the\fBauto\-deactivate\fR config setting is set to "false". If anything is
depending on it, then those must be uninstalled first.
+.
+.P
+If the version is omitted, then all versions of a package are removed.